This one is Dan's. He misparses OR's as AND's for the model definition language...
authorbdemsky <bdemsky>
Wed, 19 May 2004 05:26:41 +0000 (05:26 +0000)
committerbdemsky <bdemsky>
Wed, 19 May 2004 05:26:41 +0000 (05:26 +0000)
Repair/RepairCompiler/MCC/MDL.cup

index 8c5e14f..c7b00d0 100755 (executable)
@@ -593,7 +593,7 @@ expr ::=
        {:
        debugMessage(PRODSTRING);
        ParseNode bool = (new ParseNode("expr", parser.curLine(3))).addChild("operator");
-       bool.addChild("op").addChild("and");
+       bool.addChild("op").addChild("or");
        bool.addChild("left", parser.curLine(3)).addChild(leftexpr);
        bool.addChild("right", parser.curLine(1)).addChild(rightexpr);
        RESULT = bool.getRoot();