Skip to content
Browse files

add const and let to keyword rule

  • Loading branch information...
1 parent c152f30 commit 559728dbf933165f1f647155ff70e07cf8e17bd7 @zaach zaach committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/grammar.y
View
3 lib/grammar.y
@@ -68,6 +68,7 @@ Keyword
| BREAK
| CASE
| CATCH
+ | CONSTTOKEN
| CONTINUE
| DEBUGGER
| DEFAULT
@@ -80,6 +81,7 @@ Keyword
| IF
| INTOKEN
| INSTANCEOF
+ | LET
| NEW
| RETURN
| SWITCH
@@ -88,7 +90,6 @@ Keyword
| TRY
| TYPEOF
| VAR
- | LET
| VOIDTOKEN
| WHILE
| WITH

0 comments on commit 559728d

Please sign in to comment.
Something went wrong with that request. Please try again.