diff options
Diffstat (limited to 'bas.c')
-rw-r--r-- | bas.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -10,8 +10,18 @@ #include "bas.h" +/* caller's parse_args() should set this for the -v option */ int verbose = 0; + +/* hex constants work the same way in Turbo BASIC and BASIC XL/XE: they're + exactly like numeric constants, 6-byte BCD FP, but introduced with + OP_HEXCONST instead of OP_NUMCONST. + If allow_hex_const is set, on_exp_token will be called for OP_HEXCONST. + Otherwise, a warning will be printed, on_exp_token will NOT be called, + but the constant is skipped the same as a regular numeric, to keep + in sync with the token stream. */ int allow_hex_const = 0; + unsigned short lomem; unsigned short vntp; unsigned short vntd; |