[antlr-interest] Re: matching only first line

cintyram <cintyram at yahoo.com> cintyram at yahoo.com
Fri Feb 7 09:13:52 PST 2003


hi,
 im sorry i forgot to meniton in the previous post with the same
subject line, that another reason why i wanted to replace the first
newline with a virtual dlimiter is , to avoid another problem ;
the header line can end with an ( ID) + ( somethingelse ) ?
and the next line can start with ID ID ;
in such a case, when the input is such that the optional part of the
header_line rule is not used, the next line which does not belong to
the header line, is also matched by that rule as , newline would have
been an ignored character ;
any solution to the earlier problem should also consider this fact :) 
cheers
ram
ps :previous post number is 7408 ;
thanks
ram


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list