diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-07 03:50:58 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-07 03:50:58 -0400 |
commit | 98f3c16ecdcea547046b320316f4e79aa200dde4 (patch) | |
tree | 99032ec753f17b3eb11ef3cc8534f68b8936c575 | |
parent | 4c3a520a15d0cb2b0db1736efe03145bc296de4c (diff) | |
download | bw-atari8-tools-98f3c16ecdcea547046b320316f4e79aa200dde4.tar.gz |
bas.c: fix OP_HEXCONST brain damage.
-rw-r--r-- | bas.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -351,6 +351,11 @@ void walk_code(unsigned int startlineno, unsigned int endlineno) { tok = program[pos]; switch(tok) { case OP_NUMCONST: + CALL(on_exp_token); + pos++; + CALL(on_num_const); + pos += 6; + break; case OP_HEXCONST: if(allow_hex_const) { CALL(on_exp_token); |