[Webkit-unassigned] [Bug 41844] JavaScript parser violates ECMA automatic semicolon insertion rule
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 8 15:18:59 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=41844
--- Comment #1 from Oliver Hunt <oliver at apple.com> 2010-07-08 15:18:59 PST ---
This isn't automatic semicolon insertion for the usual reasons eg.
{ if (0) }
will fail to parse.
The parse success is due to the lexer automatically inserting a semicolon to the end of a script if it has not seen a line terminator when it reaches the end. I'm no sure what the specific reason for it is.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list