[Git][wine/wine][master] vbscript: Return error 1048 for Property declaration outside a Class.
Alexandre Julliard pushed to branch master at wine / wine Commits: f46c3630 by Francis De Brabandere at 2026-04-14T22:00:48+02:00 vbscript: Return error 1048 for Property declaration outside a Class. When Property Get, Property Let, or Property Set appears at global scope (outside a Class block), Windows returns error 1048 ("must be defined inside a Class"). Add explicit tPROPERTY tGET/tLET/tSET productions in SimpleStatement that set the correct error code and abort. Bison resolves the shift-reduce conflict with Identifier (which also accepts tPROPERTY) by preferring shift, which is the desired behavior. - - - - - 2 changed files: - dlls/vbscript/parser.y - dlls/vbscript/tests/run.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/f46c36300f55e92331ccdb34a2e9472... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/f46c36300f55e92331ccdb34a2e9472... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)