From 804d45669e03c94f90e2cdf43f9b046b2a49e62c Mon Sep 17 00:00:00 2001 From: TudbuT Date: Fri, 29 Jul 2022 16:20:59 +0200 Subject: [PATCH] fix multidimensional arrays --- ISBPL.java | 2 -- std.isbpl | 6 ++++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ISBPL.java b/ISBPL.java index f32b8b3..52939d8 100644 --- a/ISBPL.java +++ b/ISBPL.java @@ -15,8 +15,6 @@ import sun.misc.Unsafe; // the Safe */ public class ISBPL { - // TODO: fully implement JIO - // public static final boolean ENABLE_JINTEROP = true; static Unsafe theSafe; static { diff --git a/std.isbpl b/std.isbpl index 0a677b5..b758a20 100644 --- a/std.isbpl +++ b/std.isbpl @@ -122,6 +122,8 @@ def Error construct error { } } =Error +def __aput_native &aput =__aput_native + def TYPE_ARRAY construct array { ; construct { @@ -150,11 +152,11 @@ def TYPE_ARRAY construct array { } this foreach s } - aget { + ? { with idx this ; this idx aget } - aput { + =? { with item idx this ; this idx item aput }