We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bbb5a8 commit 9521f6cCopy full SHA for 9521f6c
src/net/sourceforge/plantuml/ebnf/ETileConcatenation.java
@@ -53,6 +53,10 @@ public void push(ETile tile) {
53
tiles.add(0, tile);
54
}
55
56
+ public void pushLast(ETile tile) {
57
+ tiles.add(tile);
58
+ }
59
+
60
public void overideFirst(ETile tile) {
61
tiles.set(0, tile);
62
src/net/sourceforge/plantuml/ebnf/EbnfEngine.java
@@ -122,7 +122,7 @@ public void concatenation() {
122
arg1.push(arg2);
123
stack.addFirst(arg1);
124
} else if (arg2 instanceof ETileConcatenation) {
125
- arg2.push(arg1);
+ ((ETileConcatenation) arg2).pushLast(arg1);
126
stack.addFirst(arg2);
127
} else {
128
final ETile concat = new ETileConcatenation();
0 commit comments