[Git][wine/wine][master] 2 commits: vbscript: Lex a dot immediately followed by a digit as a numeric literal.
Alexandre Julliard pushed to branch master at wine / wine Commits: 111743f2 by Francis De Brabandere at 2026-06-11T16:07:57+02:00 vbscript: Lex a dot immediately followed by a digit as a numeric literal. Native VBScript treats a dot directly followed by a digit as the start of a numeric literal even right after an identifier or closing bracket, so obj.Method.5 parses as a call with argument 0.5. - - - - - 855b7153 by Francis De Brabandere at 2026-06-11T16:07:59+02:00 vbscript: Report specific compile errors for trailing tokens and missing identifiers. Native VBScript reports error 1025 (Expected end of statement) for trailing tokens after a complete statement and error 1010 (Expected identifier) where an identifier is required, while Wine reported a generic syntax error for both. Map a literal at an unexpected position to error 1025 and override that in error productions for contexts that expect an identifier. - - - - - 3 changed files: - dlls/vbscript/lex.c - dlls/vbscript/parser.y - dlls/vbscript/tests/lang.vbs View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/b99c58ea6297ddecd3cf25e90055e9... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/b99c58ea6297ddecd3cf25e90055e9... 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)