Hi,

Working on this problem for two days and I don`t seem to be any closer than
where I started.


I have defined a combination of reserved words in grammar something like

//grammar
| ‘ip’ ‘route’ call_parser_method
| ‘some’ do_something_else


But when a parser encounters a line “some other line with ip text” it treats
ip token as a reserved word and it tries to look for a 'route' after ip and
finds 'text'. How do I get around this problem?


Any help would be appreciated.


Thx

Hiten

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to