mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-29 00:48:03 +00:00
surrounded Charliteral with ''
This commit is contained in:
parent
778611c125
commit
9566823ad1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user