aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-10 15:47:57 -0400
committerB. Watson <urchlay@slackware.uk>2024-07-10 15:47:57 -0400
commit9b2d35c14476f60d10b40aa1fed8e746d848a51d (patch)
tree60a68fcf23cc0b3bb924468c4db9a6bde0d3a847
parent7c34d57d2c15a5d63546f3d62c7e946e05f01856 (diff)
downloadbw-atari8-tools-9b2d35c14476f60d10b40aa1fed8e746d848a51d.tar.gz
whichbas: removed ifdef'ed out code.
-rw-r--r--whichbas.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/whichbas.c b/whichbas.c
index 2b84285..ec997cb 100644
--- a/whichbas.c
+++ b/whichbas.c
@@ -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;