Commit cd6346e4 authored by Michael Schwarz's avatar Michael Schwarz

Works for first as well

parent ffcbe160
......@@ -82,6 +82,9 @@ public class ReduceReduceReorder {
}
if(index == 0){
//contains ::=
start = start+3;
end = rhs.get(1).getRange().getBegin().getOffsetFromStart();
pString = p.getName().name + " ::= " + document.get(start,end-(start)) + ";";
toInsert = "\n\n//Separated and moved by CUP Eclipse plugin\n" + pString;
......
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