mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-28 09:48:03 +00:00
surrounded Charliteral with ''
This commit is contained in:
parent
778611c125
commit
9566823ad1
@ -62,7 +62,7 @@ INT : 'int';
|
||||
BOOL : 'bool';
|
||||
VOID : 'void';
|
||||
|
||||
CHAR: [a-zA-Z];
|
||||
CHAR: ['][a-zA-Z]['];
|
||||
IDENTIFIER : [a-zA-Z]+;
|
||||
NUMBER : [0-9]+;
|
||||
WS : [ \t\r\n] -> skip;
|
||||
|
Loading…
Reference in New Issue
Block a user