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/go.bp | |
| parent | a6d6e39f3faa83a9e9e5fdd0649da1e6a0655353 (diff) | |
Added | as alias for \b
Diffstat (limited to 'grammars/go.bp')
| -rw-r--r-- | grammars/go.bp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grammars/go.bp b/grammars/go.bp index f86f2eb..f31e21c 100644 --- a/grammars/go.bp +++ b/grammars/go.bp @@ -12,6 +12,6 @@ keyword: "break" / "default" / "func" / "interface" / "select" / "case" / "defer" / "go" / "map" / "struct" / "chan" / "else" / "goto" / "package" / "switch" / "const" / "fallthrough" / "if" / "range" / "type" / "continue" / "for" / "import" / "return" / "var" -function-def: \b"func"\b __ id __ parens __ [id / parens] >(__`{) +function-def: |"func"| __ id __ parens __ [id / parens] >(__`{) function: function-def __ braces -import: \b"import"\b __ (parens / string) +import: |"import"| __ (parens / string) |
