aosp12/external/antlr/runtime/Python/tests/t010lexer.g

8 lines
149 B
Plaintext

lexer grammar t010lexer;
options {
language = Python;
}
IDENTIFIER: ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'_')*;
WS: (' ' | '\n')+;