surrounded Charliteral with ''

This commit is contained in:
laurenz 2024-04-24 18:36:06 +02:00
parent 778611c125
commit 9566823ad1

View File

@ -62,7 +62,7 @@ INT : 'int';
BOOL : 'bool'; BOOL : 'bool';
VOID : 'void'; VOID : 'void';
CHAR: [a-zA-Z]; CHAR: ['][a-zA-Z]['];
IDENTIFIER : [a-zA-Z]+; IDENTIFIER : [a-zA-Z]+;
NUMBER : [0-9]+; NUMBER : [0-9]+;
WS : [ \t\r\n] -> skip; WS : [ \t\r\n] -> skip;