https://bugs.winehq.org/show_bug.cgi?id=54177
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |damjan.jov@gmail.com Status|UNCONFIRMED |NEW
--- Comment #4 from Damjan Jovanovic damjan.jov@gmail.com --- (In reply to Jason Millard from comment #2)
(In reply to Jason Millard from comment #1)
I'm guessing (ii-1) runs through (' ArgumentDeclList ')'
Actually that was for the Sub declaration.
Maybe it's a call expression:
Arguments : tEMPTYBRACKETS { $$ = NULL; } | '(' ArgumentList ')' { $$ = $2; }
Yes I think this is the problem.
Changing the '*' to '+' or '-' ends up in a "missing comma" error. It seems to be parsing it like this:
Arguments Error | | | | | |+--------+ | | || | v vv v AddTimer (ii-1)*200, "Message"
which will break regardless of what follows the ')'.
The brackets should be treated as part of the first argument, not as the argument list boundaries.
Easy to reproduce with: wine cscript 'z:\path\to\file.vbs'
Confirming.