April 8, 2026
3:33 a.m.
When a Sub or Function declaration has a closing parenthesis without a matching opening one (e.g. "Sub x)"), Windows returns error 1005 ("expected '('"). Add error productions in FunctionDecl that detect this and set the correct VBSE_EXPECTED_LPAREN error code. -- v2: vbscript: Return error 1005 for missing opening parenthesis in Sub/Function. https://gitlab.winehq.org/wine/wine/-/merge_requests/10494