March 29, 2026
11:15 a.m.
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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10498