Skip to content

Commit 71ea456

Browse files
committed
piccodescript: Made the execution aware of the stack frame indexes
1 parent dff956a commit 71ea456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/piccode/piccodescript/Piccode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ public AttributedString highlight(LineReader reader, String buffer) {
391391
PiccodeValue res = null;
392392
try {
393393
for (var stmt : result.nodes) {
394-
res = stmt.execute();
394+
res = stmt.execute(null);
395395
}
396396

397397
terminal.writer().println(res + " : " + res.type());

0 commit comments

Comments
 (0)