[antlr-interest] how to read data from the input buffer without the lexer processing it

Anshu Gupta anshumaligupta at yahoo.com
Fri Apr 13 21:20:45 PDT 2007


Hello,
   
  I have a statement as follows:
   
  DataLine
   
  1 ABC
  2 DEF
  ;
   
  Here DataLine is a keyword and the remaining is data until the ';'
   
  The data is to be read as is without whitespace being filtered and without the lexer forming any tokens. How can I directly read the characters from input buffer without having this stream of characters processed by lexer?
   
  Thanks
  Anshu

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070413/4483025a/attachment.html 


More information about the antlr-interest mailing list