forked from jasder/antlr
indentation fix
This commit is contained in:
parent
f143495ab2
commit
78c24f0588
|
@ -526,8 +526,7 @@ public class TokenStreamRewriter {
|
||||||
System.out.println("new rop "+rop);
|
System.out.println("new rop "+rop);
|
||||||
}
|
}
|
||||||
else if ( !disjoint && !same ) {
|
else if ( !disjoint && !same ) {
|
||||||
throw new IllegalArgumentException("replace op boundaries of "+rop+
|
throw new IllegalArgumentException("replace op boundaries of "+rop+" overlap with previous "+prevRop);
|
||||||
" overlap with previous "+prevRop);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -558,8 +557,7 @@ public class TokenStreamRewriter {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ( iop.index >= rop.index && iop.index <= rop.lastIndex ) {
|
if ( iop.index >= rop.index && iop.index <= rop.lastIndex ) {
|
||||||
throw new IllegalArgumentException("insert op "+iop+
|
throw new IllegalArgumentException("insert op "+iop+" within boundaries of previous "+rop);
|
||||||
" within boundaries of previous "+rop);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -597,5 +595,4 @@ public class TokenStreamRewriter {
|
||||||
}
|
}
|
||||||
return ops;
|
return ops;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue