diff options
| author | iamcheeseman <[email protected]> | 2026-04-07 10:46:07 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-04-07 10:46:07 -0400 |
| commit | 6d30c64216cd4d0b1b2a20a167d85c7fc6534378 (patch) | |
| tree | 67d0600f9be759c2c76b3e017b286354b57ab00a /uscript/us_debug.c | |
| parent | d39f7a08461b64c7378f007761d51208c226f4a4 (diff) | |
microscript: add arrays
Diffstat (limited to 'uscript/us_debug.c')
| -rw-r--r-- | uscript/us_debug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/uscript/us_debug.c b/uscript/us_debug.c index 8d5dfe3..d31669b 100644 --- a/uscript/us_debug.c +++ b/uscript/us_debug.c @@ -42,6 +42,7 @@ int print_instruction(struct us_proto *proto, int idx) ); return idx + 2 + upvalc * 2; } + case BC_ARR: case BC_SET_UPVAL: case BC_GET_UPVAL: case BC_SET_LOCAL: @@ -82,6 +83,8 @@ int print_instruction(struct us_proto *proto, int idx) case BC_TRUE: case BC_FALSE: case BC_ZILCH: + case BC_GET_INDEX: + case BC_SET_INDEX: case BC_POP: case BC_POP_UPVAL: case BC_ADD: |
