From 3bef7994fd351fe65e56c8cc406a38fa3b821fad Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 16 Jul 2024 01:31:55 -0400 Subject: listbas: BASIC/A+ doesn't support hex constants. --- listbas.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3