diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-10 15:47:57 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-10 15:47:57 -0400 |
commit | 9b2d35c14476f60d10b40aa1fed8e746d848a51d (patch) | |
tree | 60a68fcf23cc0b3bb924468c4db9a6bde0d3a847 | |
parent | 7c34d57d2c15a5d63546f3d62c7e946e05f01856 (diff) | |
download | bw-atari8-tools-9b2d35c14476f60d10b40aa1fed8e746d848a51d.tar.gz |
whichbas: removed ifdef'ed out code.
-rw-r--r-- | whichbas.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -735,20 +735,6 @@ CALLBACK(handle_op) { remove_type(BT_BXL_BXE); } else if(is_numeric_op(last_op_tok) || is_numeric_op(nexttok)) { remove_type(BT_TURBO); -#if 0 - } else if(last_op_tok == OP_STR_ASSIGN) { - /* catches A$=INKEY$, for what that's worth. */ - remove_type(BT_BXL_BXE); - } else if(last_op_tok == OP_GRP_RPAR || last_op_tok == OP_NUMCONST || last_op_tok == OP_HEXCONST || last_op_tok == OP_STRCONST || last_op_tok >= 0x80) { - /* INKEY$ can't directly follow a constant, a variable, or a right-paren. */ - remove_type(BT_TURBO); - } else if(nexttok == OP_NUMCONST || nexttok == OP_HEXCONST || nexttok >= 0x80 || nexttok == OP_GRP_LPAR) { - /* INKEY$ may not be followed by a numeric constant or a variable of any kind, or - a parenthesized expression. - TODO: determine exactly what all it *can* be followed by, check for that. - */ - remove_type(BT_TURBO); -#endif } break; |