Comma expression improvements. WIP

However, tests fail :-(
This commit is contained in:
Jindra Petřík
2025-08-02 12:01:16 +02:00
parent a436ddd65c
commit 95b7abb9bc
12 changed files with 65 additions and 4 deletions

View File

@@ -3367,8 +3367,9 @@ public class Graph {
}
}
if (code.size() <= part.start) {
if (code.size() <= part.start) {
if (!(!ret.isEmpty() && ret.get(ret.size() - 1) instanceof ExitItem)) {
stack.setConnectedOutput(0, ret);
stack.addToOutput(new ScriptEndItem(dialect));
}
return ret;