removed the 'default' keyword in favor of an 'else'

This commit is contained in:
Jeremy Ashkenas
2009-12-17 21:14:36 -05:00
parent 3ffbf541df
commit 0dc445138b
5 changed files with 7 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ class Lexer
"try", "catch", "finally", "throw",
"break", "continue",
"for", "in", "while",
"switch", "case", "default",
"switch", "case",
"super"]
IDENTIFIER = /\A([a-zA-Z$_]\w*)/