Have a look at these: http://www.antlr.org/blog/antlr3/error.handling.tml http://www.antlr.org/wiki/display/ANTLR3/Error+reporting+and+recovery http://www.antlr.org/wiki/display/ANTLR3/Custom+Syntax+Error+Recovery
Regards, Bart. On Mon, Sep 26, 2011 at 11:16 AM, pragmaik <[email protected]> wrote: > Hi Bart! > > Thank you very much! It works much better now, that is now I get an error > message at least: > > missing EndOfFile at 'bool' > > Is there an easy way to make this error message more friendly? That is as > an > user of the language I'd expect something like 'Missing initialization in > variable declaration'. > > Best, > > Maik > > > -- > View this message in context: > http://antlr.1301665.n2.nabble.com/Recognizing-syntax-errors-with-C-tp6831210p6831248.html > Sent from the ANTLR mailing list archive at Nabble.com. > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address > 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.
