From 32a915b63e43a0a7c487d66432d3e936d616dceb Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 23 May 2022 11:12:32 +0200 Subject: [PATCH] make ISBPLStreamer.streams static to avoid wrong IndexOutOfBounds --- ISBPL.java | 2 +- bf.isbpl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ISBPL.java b/ISBPL.java index 88dfb4e..7335521 100644 --- a/ISBPL.java +++ b/ISBPL.java @@ -2282,7 +2282,7 @@ class ISBPLStreamer { this.isbpl = isbpl; } - public ArrayList streams = new ArrayList<>(); + public static ArrayList streams = new ArrayList<>(); public synchronized void action(Stack stack, int action) throws IOException { ISBPLStream stream; diff --git a/bf.isbpl b/bf.isbpl index 28f40a1..96d17b4 100644 --- a/bf.isbpl +++ b/bf.isbpl @@ -49,6 +49,9 @@ func makeCode { idx ++ =idx } 1000 =idx + JIO context debug if { + stdin itos puts + } } =code def c