From da5a6e996d1dd0bdded1c8da13b68d5da43865bc Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 9 Jul 2024 04:46:17 -0400 Subject: whichbas: commentary. --- whichbas.c | 3 +++ 1 file changed, 3 insertions(+) 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); } -- cgit v1.2.3