@mike-lischke/antlr-tgen
Version:
A generator for antlr-ng runtime test cases
26 lines (19 loc) • 427 B
Plain Text
[]
This is a regression test for
[]
Lexer
[]
lexer grammar L;
COLON : ':' ;
PTR : '->' ;
ID : [a-z]+;
[]
x : x
[]
[@0,0:0='x',<3>,1:0]
[@1,2:2=':',<1>,1:2]
[@2,4:4='x',<3>,1:4]
[@3,5:4='<EOF>',<-1>,1:5]
[]
line 1:1 token recognition error at: ' '
line 1:3 token recognition error at: ' '