DescriptionMake invalid break/continue statements an early syntax error.
Previously we delayed the throwing of syntax errors until runtime, so
unreachable errors didn't get reported.
To match a change in JSC, we now stop parsing and report the error immediately.
BUG=69736
TEST=
Committed: http://code.google.com/p/v8/source/detail?r=6341
Patch Set 1 #
Total comments: 8
Patch Set 2 : Address review comments. #
Messages
Total messages: 3 (0 generated)
|