diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-07-30 20:23:18 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-07-30 20:23:18 -0700 |
| commit | 9c05f880b00065abfa6f8c9335a50522b76a4fa2 (patch) | |
| tree | 854087e78104fb3200ae2120f3848794d9445a92 /grammars/javascript.bp | |
| parent | a6d6e39f3faa83a9e9e5fdd0649da1e6a0655353 (diff) | |
Added | as alias for \b
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 (`; / $) |
