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
`throw {}` is not a parse error (and already covered by unary ops)
authored
May 02, 2017
by
Ingvar Stepanyan
Hide whitespace changes
Inline
Side-by-side
design.md
View page @
c8ed02cf
...
@@ -73,7 +73,7 @@ disambiguate. Algorithm:
...
@@ -73,7 +73,7 @@ disambiguate. Algorithm:
else
else
// return {...}
// return {...}
return false
return false
else if tok-1 is one of "debugger" "break" "continue"
"throw"
else if tok-1 is one of "debugger" "break" "continue"
parse error
parse error
else if tok-1 is "case"
else if tok-1 is "case"
// case {...}
// case {...}
...
...