removing arguments as a keyword -- we can detect its use at code-generation time.

This commit is contained in:
Jeremy Ashkenas
2010-02-05 22:01:11 -05:00
parent dc7d0f1568
commit b795ae7fe1
6 changed files with 1385 additions and 1400 deletions

View File

@@ -13,7 +13,6 @@ token FOR IN OF BY WHEN WHILE
token SWITCH LEADING_WHEN
token DELETE INSTANCEOF TYPEOF
token SUPER EXTENDS
token ARGUMENTS
token NEWLINE
token COMMENT
token JS
@@ -102,7 +101,6 @@ rule
| REGEX { result = LiteralNode.new(val[0]) }
| BREAK { result = LiteralNode.new(val[0]) }
| CONTINUE { result = LiteralNode.new(val[0]) }
| ARGUMENTS { result = LiteralNode.new(val[0]) }
| TRUE { result = LiteralNode.new(Value.new(true)) }
| FALSE { result = LiteralNode.new(Value.new(false)) }
| YES { result = LiteralNode.new(Value.new(true)) }