diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-08 22:53:34 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-08 22:53:34 -0400 |
commit | fac773ef377c6439fa589d1c2a76c817b349a379 (patch) | |
tree | 81b43a36eb9831f34a064d6eee7089876b21597d | |
parent | 6f1133ef4cd268098d0695dbdf9d285748a4108c (diff) | |
download | bw-atari8-tools-fac773ef377c6439fa589d1c2a76c817b349a379.tar.gz |
whichbas: cmd token 0x59: PROCEDURE doesn't exist in BXL, only BXE.
-rw-r--r-- | whichbas.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -232,9 +232,13 @@ CALLBACK(handle_cmd) { remove_type(BT_BXE); } break; - case 0x59: /* TEXT (1st arg is number), PROCEDURE (arg is string const (not var!)) */ + case 0x59: /* TEXT or PROCEDURE */ + /* Turbo: TEXT (1st arg is number), + BXL: invalid token, + BXE: PROCEDURE (arg is string const (not var!)) */ if(nexttok == OP_STRCONST) { - remove_type(BT_TURBO); + /* this token doesn't seem to be valid in BXL at all */ + remove_type(BT_TURBO | BT_BXL); } else { remove_type(BT_BXL_BXE); } |