[antlr-interest] A few ANTLR 3.0b4 questions

Micheal J open.zone at virgin.net
Fri Nov 17 12:00:22 PST 2006


Hi,

> Thanks Michael:
> 
> This is very helpful.
> 
> Regarding the @header{} section, this appears to only show up 
> in the parser, so I think I need to copy the body and wrap it 
> with an @lexer::header{} 
> section.
> Is there some way that I can avoid having two separate 
> headers.

An open issue:

http://www.antlr.org:8888/browse/ANTLR-35


> I also 
> noticed that changing
> the package name has introduced some problems when trying to run the 
> debugging environment.
[...]
> The console shows a bunch of errore messages in class 
> __Test__ that indicate 
> that
> the Main generated by the debugger cannot locate the parser 
> class nor can 
> the compiler
> find the lexer class.  If I comment out the headers with the 
> package name 
> messages, the
> error goes away.

AntlrWorks debugging isn't a strong point of my mine. Perhaps others can
comment?


Micheal


-----------------------
The best way to contact me is via the list/forum. My time is very limited.



More information about the antlr-interest mailing list