I fixed one.

 

Test:

TestRewriteOfRuleRefRootListLabeled

 

Problem:

Incorrect return type for the list label.

 

Solution:

In Java.stg, template ruleLabelDefs(), instead of hard-coding
RuleReturnScope as the label type for ruleListLabels, call ruleLabelDef
template like it does for ruleLabels.

 

Sam

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Sam Harwell
Sent: Tuesday, November 04, 2008 12:09 PM
To: ANTLR-dev Dev
Subject: [antlr-dev] Unit test differences between Java and C# port

 

The following tests that fail in the Java code (based on their comments
/ CL5370) all pass in my C# port. Maybe we can figure out what the
difference is? Do you have any information on the current results of
these tests?

 

testAStar_immediateTailRecursion

testWildcardInTreeGrammar

testOrPredicates

testGatedPred

testGatedPredInCyclicDFA

testTemplateConstructor

testTemplateConstructorNoArgs

testIndirectTemplateConstructor

 

Sam

_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org:8080/mailman/listinfo/antlr-dev

Reply via email to