From: bdemsky Date: Wed, 19 May 2004 05:26:41 +0000 (+0000) Subject: This one is Dan's. He misparses OR's as AND's for the model definition language... X-Git-Url: http://plrg.eecs.uci.edu/git/?p=repair.git;a=commitdiff_plain;h=9a3fc530f33d87e97aafdf7e61f43e91bcc62d47;hp=d79d4d2b198964d340ebf4f77ce062eacee42478 This one is Dan's. He misparses OR's as AND's for the model definition language. Surprisingly enough, this causes the CTAS spec to have some small problems. --- diff --git a/Repair/RepairCompiler/MCC/MDL.cup b/Repair/RepairCompiler/MCC/MDL.cup index 8c5e14f..c7b00d0 100755 --- a/Repair/RepairCompiler/MCC/MDL.cup +++ b/Repair/RepairCompiler/MCC/MDL.cup @@ -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();