Treat 'debugger' as a pure-statement keyword, not and identifier.

This commit is contained in:
Jeremy Ashkenas
2010-08-28 08:26:47 -04:00
parent fa95f743f3
commit 04fd24e068
7 changed files with 187 additions and 182 deletions

View File

@@ -78,6 +78,7 @@ grammar =
o "Throw"
o "BREAK", -> new LiteralNode $1
o "CONTINUE", -> new LiteralNode $1
o "DEBUGGER", -> new LiteralNode $1
]
# All the different types of expressions in our language. The basic unit of