summaryrefslogtreecommitdiff
path: root/g.peg
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-07-11 15:43:18 +0100
committerubq323 <ubq323@ubq323.website>2024-07-11 15:43:18 +0100
commitd9d307bc676387ab8894f9fb1ee722db8ecf7272 (patch)
tree135a8ca920a16c7f46cb6cf6b65d6e982163671e /g.peg
parentd8d3770f88d6acc37620d6577fa5a0b026fb1231 (diff)
set -> set!
Diffstat (limited to 'g.peg')
-rw-r--r--g.peg2
1 files changed, 1 insertions, 1 deletions
diff --git a/g.peg b/g.peg
index 056ca7a..08ded48 100644
--- a/g.peg
+++ b/g.peg
@@ -46,7 +46,7 @@ number <- < [0-9]+ > (! ident_char) _ { $$ = astnode_new_num(atoi($1)); }
ident <- < ident_char+ > _ { $$ = astnode_new_ident($1); }
string <- '"' < [^"]* > '"' _ { $$ = astnode_new_string($1); }
-ident_char <- [-_a-zA-Z'+*/\\%=0-9<>]
+ident_char <- [-_a-zA-Z'+*/\\%=0-9<>!]
_ <- [ \t\n]*