Antlr 4 / c# Error handling and synchronization

93 views
Skip to first unread message

rami....@gmail.com

unread,
Aug 30, 2013, 9:19:10 AM8/30/13
to antlr-di...@googlegroups.com

In this given grammar:

/*
* Parser Rules
*/
text : term+ EOF;
term : a1 a2 a3;
a1: ....
...
...

When error occurs, How to synchronize input to the next valid term? and How to get the ignored text?

Reply all
Reply to author
Forward
0 new messages