diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-09 03:42:05 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-09 03:42:05 -0400 |
commit | 5d16a27b77cc11f07af73050e2f6d175a57f9f0e (patch) | |
tree | 33a51a7dd21d0c5afbe2f94f5c66c825e0ed17d9 | |
parent | 3d6eed9cd5076e85150467fed62a598f2b1a8176 (diff) | |
download | bw-atari8-tools-5d16a27b77cc11f07af73050e2f6d175a57f9f0e.tar.gz |
whichbas: fix logic for TRACE/EXTEND (cmd 0x58).
-rw-r--r-- | whichbas.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -254,6 +254,8 @@ CALLBACK(handle_cmd) { } break; case 0x58: /* TRACE (optional + or -), EXTEND (BXE; no args) */ + /* partial: TRACE +/- detected, TRACE without arg can't be + told from EXTEND. */ if(nexttok == OP_PLUS || nexttok == OP_MINUS) { bas_type = BT_TURBO; print_result(); @@ -262,11 +264,6 @@ CALLBACK(handle_cmd) { as the regular one, but can't be entered in the editor. Assume no BXL program contains this token. */ remove_type(BT_BXL); - if(lineno < 32768) { - /* EXTEND can't show up in a program except maybe line 32768, e.g. - EXTEND:SAVE "D:BLAH". */ - remove_type(BT_BXE); - } } break; case 0x59: /* TEXT or PROCEDURE */ |