Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
sweet-js
sweet-core
Wiki
design
design
· Changes
Page history
Don't assume that "debugger" or "break" or "continue" followed by {} is a parsing error
authored
May 02, 2017
by
Ingvar Stepanyan
Hide whitespace changes
Inline
Side-by-side
design.md
View page @
5872c8ce
...
@@ -73,8 +73,6 @@ disambiguate. Algorithm:
...
@@ -73,8 +73,6 @@ disambiguate. Algorithm:
else
else
// return {...}
// return {...}
return false
return false
else if tok-1 is one of "debugger" "break" "continue"
parse error
else if tok-1 is "case"
else if tok-1 is "case"
// case {...}
// case {...}
return false
return false
...
...