April 17, 2026
1:24 p.m.
Alternative to MR !10244 that does the disambiguation entirely in the parser grammar. The lex keeps master's behavior (no state tracking, no paren lookahead); a new SimpleStatement production handles the 'CallExpression Arguments OP Expression [, rest]' pattern and rewrites it as 'f((args) OP expr)' via the action. Cost: +2 shift/reduce conflicts (12 vs baseline 10). Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54177 -- v3: vbscript: Fix Sub first argument parentheses handling. https://gitlab.winehq.org/wine/wine/-/merge_requests/10692