[antlr-interest] [v3] glitch in codegen.g

Kay Roepke kroepke at dolphin-services.de
Tue Nov 29 18:12:42 PST 2005


On 30. Nov 2005, at 2:56 Uhr, Terence Parr wrote:

> Did you rebuild the generated code from codegen.g?  Do a p4 sync -f  
> codegen.g from the codegen dir too maybe.

Yeah, I did that, since I moved to my laptop a few minutes ago.

p4 fstat codegen.g tells me this (even after a forced sync)

... depotFile //depot/code/antlr/main/src/org/antlr/codegen/codegen.g
... clientFile /Users/kroepke/Projects/antlr3-workspace/src/org/antlr/ 
codegen/codegen.g
... headAction edit
... headType text
... headTime 1133044771
... headRev 58
... headChange 2073
... haveRev 58

Rebuilding the code doesn't because in lines 312 and 333 it still says:
                         if ( r.equals(Grammar.TOKEN_RULENAME) ) {
which the compiler doesn't like....

Bewildered,

Kay



More information about the antlr-interest mailing list