[Git][wine/wine][master] vbscript: Fix error character positions for Exit and Dim statements.
Alexandre Julliard pushed to branch master at wine / wine Commits: 56e6d271 by Francis De Brabandere at 2026-04-06T18:03:08+02:00 vbscript: Fix error character positions for Exit and Dim statements. For invalid Exit statements (e.g. Exit Do outside a Do loop), point the error position at the keyword after Exit (Do/For/Function/Property/Sub) instead of at Exit itself, matching Windows. For duplicate Dim declarations, store the identifier location in dim_decl_t and use it as the error position, so the error points at the duplicate name instead of the Dim keyword. - - - - - 4 changed files: - dlls/vbscript/compile.c - dlls/vbscript/parse.h - dlls/vbscript/parser.y - dlls/vbscript/tests/run.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/56e6d27166354400374d6b74bdfafcc... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/56e6d27166354400374d6b74bdfafcc... 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)