Alexandre Julliard pushed to branch master at wine / wine Commits: 9f2384a0 by Francis De Brabandere at 2026-04-15T21:59:23+02:00 vbscript: Return correct error codes for missing statement separators. When a statement and its closing keyword appear on the same line without a separator (newline or colon), Windows returns specific error codes: - 1042 (Must be first statement on the line) for End If, End Select - 1024 (Expected statement) for End While, End Class, Else End If - 1025 (Expected end of statement) for Wend, Loop Wine was returning generic E_FAIL (16389) for all of these. Add targeted error productions in the parser grammar to detect block-closing keywords following a statement without a separator, and set the appropriate VBScript error code before aborting. - - - - - 2 changed files: - dlls/vbscript/parser.y - dlls/vbscript/tests/run.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/9f2384a0d93e1ba14db9d5387be494d... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/9f2384a0d93e1ba14db9d5387be494d... 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