https://bugs.winehq.org/show_bug.cgi?id=55447
Bug ID: 55447 Summary: wine cannot parse valid javascript Product: Wine Version: 8.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: jscript Assignee: wine-bugs@winehq.org Reporter: yshuiv7@gmail.com Distribution: ---
jscript cannot parse the code below:
var O = { continue: 1 }; var x = { label: O.continue };
it reports:
0024:warn:jscript:script_parse parser failed around L"bel: O.continue\n };\n});\n" in line L"sync_test("ASDF", function() {"
Native Windows jscript doesn't have a problem with this.
The cause, I believe, is jscript inserted a semicolon after the "continue".