[antlr-interest] Generation Error!!!!!!!!!!!!!!!!

edmont_cu edmont_cu at yahoo.es
Thu May 6 18:05:47 PDT 2004


Hello:

In my class lexer I put the next token:


FILENAME : 
          '"' !  
          (
          (ID | SIMBOL) 
          '.' 
          ( "rul" | "cls" ) 
          )
          '"' !
          ;

When the cantlr generate the Lexer.cs file in methow mFILENAME it 
redeclare de variable: int _saveIndex = 0; and I get the error:

"D:\Edmont\Sources\C#\ConsoleApplication1\ConsoleApplication1
\CGrammarScanner.cs(612): Ya se ha definido una variable local 
denominada '_saveIndex' en este ámbito"

It 's an error of the cantlr.exe file or I can not do a construction 
like I did?





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

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



More information about the antlr-interest mailing list