[Git][wine/wine][master] vbscript: Return proper errors for orphan Loop and Next keywords.
Alexandre Julliard pushed to branch master at wine / wine Commits: b6e0a067 by Francis De Brabandere at 2026-04-27T22:06:41+02:00 vbscript: Return proper errors for orphan Loop and Next keywords. When Loop or Next appear outside their enclosing Do/For blocks, Windows returns specific error codes: 1038 ("loop without do") and 1055 ("unexpected Next"). Detect these tokens in parser_error() and set the proper HRESULT instead of the generic E_FAIL. - - - - - 2 changed files: - dlls/vbscript/parser.y - dlls/vbscript/tests/run.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/b6e0a0672dc87911904e3d8f9003d7d... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/b6e0a0672dc87911904e3d8f9003d7d... 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)