Hi

 

I am getting the following error when trying to generate a parser:

 

SableCC version 3.2

Copyright (C) 1997-2003 Etienne M. Gagnon <[EMAIL PROTECTED]> and

others.  All rights reserved.

 

This software comes with ABSOLUTELY NO WARRANTY.  This is free software,

and you are welcome to redistribute it under certain conditions.

 

Type 'sablecc -license' to view

the complete copyright notice and license.

 

 

 -- Generating parser for joos0.sablecc in C:\Users\palle\workspace\joos

Verifying identifiers.

java.lang.RuntimeException: [0,0] Redefinition of AFormalParameterList.

           at org.sablecc.sablecc.ResolveIds.error(Unknown Source)

           at org.sablecc.sablecc.ResolveIds.caseAAlt(Unknown Source)

           at org.sablecc.sablecc.node.AAlt.apply(Unknown Source)

           at org.sablecc.sablecc.ResolveIds.caseAProd(Unknown Source)

           at org.sablecc.sablecc.node.AProd.apply(Unknown Source)

           at
org.sablecc.sablecc.analysis.DepthFirstAdapter.caseAProductions(Unknown
Source)

           at org.sablecc.sablecc.node.AProductions.apply(Unknown Source)

           at
org.sablecc.sablecc.analysis.DepthFirstAdapter.caseAGrammar(Unknown Source)

           at org.sablecc.sablecc.node.AGrammar.apply(Unknown Source)

           at
org.sablecc.sablecc.analysis.DepthFirstAdapter.caseStart(Unknown Source)

           at org.sablecc.sablecc.node.Start.apply(Unknown Source)

           at org.sablecc.sablecc.SableCC.processGrammar(Unknown Source)

           at org.sablecc.sablecc.SableCC.processGrammar(Unknown Source)

           at org.sablecc.sablecc.SableCC.main(Unknown Source)

 

Does anyone have an idea of what's going on? Any help would be appreciated..

 

Regards

 

Fredrik S. Loekke

 

 

 

_______________________________________________
SableCC-Discussion mailing list
[email protected]
http://lists.sablecc.org/listinfo/sablecc-discussion

Reply via email to