[antlr-interest] Access to line numbers
David Smith
david.smith at cc.gatech.edu
Wed Aug 10 07:02:22 PDT 2011
It seems that the parse tree generated by the parser has a data field
'line' that seems to correspond to the source line when parsing. How
do i access that to include the line number in the tree generated by
my grammar?
DMS
David M. Smith http://www.cc.gatech.edu/fac/David.Smith
Georgia Institute of Technology, College of Computing
Sent from my ASR-33 Teletype
More information about the antlr-interest
mailing list