Re: Proposals for various changes to the Java parser

2008-10-29 Thread Di-an JAN
On Tue, 28 Oct 2008, Paolo Bonzini wrote: 2. The parser class name currently defaults to ``YYParser'' (actually, ``b4_prefixParser'', but I already submitted a patch for that bug). Do people prefer to make it match the Java file name instead? Of course, characters not allowed in Java names must

Re: Proposals for various changes to the Java parser

2008-10-29 Thread Paolo Bonzini
> I'm only talking interface, not implementation. I don't want a class > that includes all union members as fields. Rather, the m4 code would > lookup the ``field'' name in %union and generate the cast like the > existing code. Oh, I see. Actually the first implementation was done that way, st