aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--whichbas.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/whichbas.c b/whichbas.c
index 05c81d5..c1f1db4 100644
--- a/whichbas.c
+++ b/whichbas.c
@@ -337,6 +337,9 @@ CALLBACK(handle_cmd) {
break;
case 0x50: /* EXEC (1 arg, *must* be variable) or PMGRAPHICS (1 num arg, may be const) */
/* PARTIAL: PMGRAPHICS VAR won't be detected. but this usage is rare. */
+ /* This check is actually redundant, because EXEC requires Turbo's
+ label type (high bits in var name table set to 1), which we already
+ detected in check_variables(). */
if(!has_var_arg) {
remove_type(BT_TURBO);
}