diff options
Diffstat (limited to 'grammars/javascript.bp')
| -rw-r--r-- | grammars/javascript.bp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grammars/javascript.bp b/grammars/javascript.bp index b59742c..438ddab 100644 --- a/grammars/javascript.bp +++ b/grammars/javascript.bp @@ -18,6 +18,6 @@ keyword: "public" / "return" / "short" / "static" / "super" / "switch" / "synchronized" / "this" / "throw" / "throws" / "transient" / "true" / "try" / "typeof" / "var" / "void" / "volatile" / "while" / "with" / "yield" -function-def: \b"function"\b __ [id__] parens / (id / parens) __ "=>" +function-def: |"function"| __ [id__] parens / (id / parens) __ "=>" function: function-def __ braces -import: \b"import"\b ..%braces (`; / $) +import: |"import"| ..%braces (`; / $) |
