diff options
-rw-r--r-- | whichbas.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |