Commit 27c5cc60 authored by Johannes Roith's avatar Johannes Roith

Fix stupid mistake.

parent abbf3c81
......@@ -968,9 +968,9 @@ prod_part ::=
Range range = new Range (Position.fromLocation(symidxleft),
Position.fromLocation(symidxright));
if (labid == null)
ref = new LabeledProductionSymbolRef(new Name(symid, range), labid, range);
else
ref = new ProductionSymbolRef(new Name(symid, range), range);
else
ref = new LabeledProductionSymbolRef(new Name(symid, range), labid, range);
ast_add_rhs_part(ref);
}
:}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment