aboutsummaryrefslogtreecommitdiff
path: root/grammars
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-10-11 14:12:06 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-10-11 14:12:06 -0700
commita57731771eb89194d59af5bff527ee1e78d1dc22 (patch)
treeca50d18774280171e5f20a49e3e985abfbfa84ab /grammars
parentba8b41ed686715af8ceaf49dfaef5acb70d8f4fd (diff)
Replaced (!"x" .) with (. != "x")
Diffstat (limited to 'grammars')
-rw-r--r--grammars/builtins.bpeg8
1 files changed, 4 insertions, 4 deletions
diff --git a/grammars/builtins.bpeg b/grammars/builtins.bpeg
index 2fd092f..ebf4197 100644
--- a/grammars/builtins.bpeg
+++ b/grammars/builtins.bpeg
@@ -63,10 +63,10 @@ utf8-codepoint: (
)
crlf: \r\n
cr: \r
-anglebraces: `< *(anglebraces / !`>$.) `>
-brackets: `[ *(brackets / !`]$.) `]
-braces: `{ *(braces / !`}$.) `}
-parens: `( *(parens / !`)$.) `)
+anglebraces: `< *(anglebraces / $. != `>) `>
+brackets: `[ *(brackets / $. != `]) `]
+braces: `{ *(braces / $. != `}) `}
+parens: `( *(parens / $. != `)) `)
id: !<(`a-z/`A-Z/`_/`0-9) (`a-z/`A-Z/`_) *(`a-z/`A-Z/`_/`0-9)
id-char: `a-z/`A-Z/`_/`0-9
word: !<(`a-z/`A-Z/`_/`0-9) +(`a-z/`A-Z) !>(`0-9/`_)