From fbecac46197807f11907b503f90702d1745cab4c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 8 Jul 2024 02:15:53 -0400 Subject: whichbas: commentary on op 0x59. --- whichbas.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/whichbas.c b/whichbas.c index fcd4b70..ca4d6b4 100644 --- a/whichbas.c +++ b/whichbas.c @@ -292,6 +292,9 @@ CALLBACK(handle_op) { } break; case 0x59: /* INKEY$ (0 arg pseudo-func) in TB, string array separator semicolon in BXL/BXE */ + /* TODO: it might be better to detect INKEY$ by looking for end of line + or statement, or OP_ARR_COMMA. INKEY$ can't be followed by anything else, + AFAICT, but I'm not *that* certain yet... */ if(nexttok == OP_NUMCONST || nexttok == OP_HEXCONST || nexttok >= 0x80) { /* INKEY$ may not be followed by a numeric constant or a variable of any kind */ remove_type(BT_TURBO); -- cgit v1.2.3