[antlr-interest] Re: Problems with C# output when using semantic predicates

micheal_jor open.zone at virgin.net
Sun Mar 9 21:29:41 PST 2003


--- In antlr-interest at yahoogroups.com, "James Park" <jpark at c...> 
wrote:
> If I use semantic predicates in my lexer rules, the resulting C# 
> output will not compile with complaints of "The type or 
> namespace 'SemanticException' could not be found. I can add this 
> manually to get it to compile, but shouldn't Antlr be generating 
> this?

Thanks for the report. This is already on our list and will be 
included in the next 2.7.2 C# update.

In the meantime, we recommend adding the appropriate "using" 
directive to the "header {...}" section at the top of your grammar 
files.

Cherrs,

Micheal



 

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



More information about the antlr-interest mailing list