diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-08 02:15:53 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-08 02:15:53 -0400 |
commit | fbecac46197807f11907b503f90702d1745cab4c (patch) | |
tree | 75fb33b6847e86190edfff933f6ffaef28c92a22 | |
parent | 0fbcfa141b459fb900529e1c194a2e67e31785a7 (diff) | |
download | bw-atari8-tools-fbecac46197807f11907b503f90702d1745cab4c.tar.gz |
whichbas: commentary on op 0x59.
-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); |