diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-17 21:39:56 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-17 21:39:56 -0800 |
| commit | 25346aa214379317af5288b222fd0a81af75de20 (patch) | |
| tree | f30a8c977cf11e2a4d77551e30fba5fd4c366fb6 /grammars/builtins.bp | |
| parent | 1110a0ce8b3c9732f14f81e81e0e3bc7a0a6ddda (diff) | |
Updated the behavior of !=/== to only consider exact, full-text matches
instead of prefix matches
Diffstat (limited to 'grammars/builtins.bp')
| -rw-r--r-- | grammars/builtins.bp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/builtins.bp b/grammars/builtins.bp index a8d0a8b..83a1eae 100644 --- a/grammars/builtins.bp +++ b/grammars/builtins.bp @@ -40,7 +40,7 @@ brackets: `[..`] % (\n/brackets/string) braces: `{..`} % (\n/braces/string) parens: `(..`) % (\n/parens/string) string: `"..`" % (`\.) / `'..`' % (`\.) -id: !<`a-z,A-Z,_,0-9 (`a-z,A-Z,_ *`a-z,A-Z,_,0-9)!=(keyword$) +id: !<`a-z,A-Z,_,0-9 (`a-z,A-Z,_ *`a-z,A-Z,_,0-9)!=keyword id-char: `a-z,A-Z,_,0-9 var: id keyword: !"" # No keywords defined by default |
