Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2010-10-18 Zoltan Herczeg <zherczeg@webkit.org>
Reviewed by Oliver Hunt. if (0) throw "x" ; else { } throws parse error after r69906 https://bugs.webkit.org/show_bug.cgi?id=47807 r69906 introduced a bug: the semicolon is not parsed after a throw expression anymore. Thus, the semicolon terminates the "if" parsing in the example above, and the else token results a parse error. * parser/JSParser.cpp: (JSC::JSParser::parseThrowStatement): 2010-10-18 Zoltan Herczeg <zherczeg@webkit.org> Reviewed by Oliver Hunt. if (0) throw "x" ; else { } throws parse error after r69906 https://bugs.webkit.org/show_bug.cgi?id=47807 Adding a new test case to break-ASI.js * fast/js/break-ASI-expected.txt: * fast/js/script-tests/break-ASI.js: Canonical link: https://commits.webkit.org/60529@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Zoltan Herczeg
committed
Oct 18, 2010
1 parent
1710bd2
commit 42a87765b3f15329be513d0e8f045559751fb068
Showing
5 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters