Mark function token as able to start an expression

This commit is contained in:
Sebastian McKenzie 2015-04-14 08:18:06 -07:00
parent cd0ed08237
commit 66a908aaa7

View File

@ -116,7 +116,7 @@ kw("do", {isLoop: true})
kw("else", beforeExpr) kw("else", beforeExpr)
kw("finally") kw("finally")
kw("for", {isLoop: true}) kw("for", {isLoop: true})
kw("function") kw("function", startsExpr)
kw("if") kw("if")
kw("return", beforeExpr) kw("return", beforeExpr)
kw("switch") kw("switch")