Alexandre Julliard pushed to branch master at wine / wine Commits: ac6b8fb0 by Francis De Brabandere at 2026-04-17T18:32:42+02:00 vbscript: Return specific error codes for missing keywords in parser. Add error productions in the bison grammar for five cases where a specific keyword is expected after a recognized prefix: - Expected '=' after identifier in Const declaration (error 1011) - Expected 'To' after expression in For loop (error 1013) - Expected 'Then' after expression in If statement (error 1017) - Expected 'Case' after Select (error 1021) - Expected 'In' after identifier in For Each loop (error 1046) Previously these all fell through to the generic E_FAIL path in parser_error(). Now each sets the correct VBSE_EXPECTED_* error code via MAKE_VBSERROR before aborting the parse. - - - - - 2 changed files: - dlls/vbscript/parser.y - dlls/vbscript/tests/run.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/ac6b8fb0a5832b592170208cc0eba48... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/ac6b8fb0a5832b592170208cc0eba48... 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