[antlr-interest] [BUG] Adding options language = Cpp cause Antlr to return an error

jbb at acm.org jbb at acm.org
Fri Jan 31 09:23:57 PST 2003


Mr. Lavoie :-

This message from Antlr

 basic.g:3:1: expecting SEMI, found '}'

means that the tool parsed your file basic.g upto line number three
and in character position one it found a '}' when it was expected to
find a SEMI (e.g. ';').

What does the above interpretation of that last Antlr error message
suggest to you?

Did you try this?

options {
    language="Cpp";
}

Hope this helps...

	-jbb

 

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



More information about the antlr-interest mailing list