From d9d307bc676387ab8894f9fb1ee722db8ecf7272 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 11 Jul 2024 15:43:18 +0100 Subject: set -> set! --- g.peg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g.peg') 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]* -- cgit v1.2.3