aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-16 01:31:55 -0400
committerB. Watson <urchlay@slackware.uk>2024-07-16 01:31:55 -0400
commit3bef7994fd351fe65e56c8cc406a38fa3b821fad (patch)
tree11f7aa6240751263a3fd132108d4a84120c48b65
parent7b2728284fda571410b15ab175e48d5ef4d40115 (diff)
downloadbw-atari8-tools-3bef7994fd351fe65e56c8cc406a38fa3b821fad.tar.gz
listbas: BASIC/A+ doesn't support hex constants.
-rw-r--r--listbas.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/listbas.c b/listbas.c
index bfe7615..c9a6da2 100644
--- a/listbas.c
+++ b/listbas.c
@@ -638,7 +638,8 @@ int main(int argc, char **argv) {
parse_env_args();
parse_args(argc, argv, 0);
- if(bas_type != B_ATARI) allow_hex_const = 1;
+ if(bas_type != B_ATARI && bas_type != B_APLUS)
+ allow_hex_const = 1;
init_token_tables();