diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-16 19:21:51 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-16 19:21:51 -0400 |
commit | 8f4d68dfc51726bc3f53742524522ad254f66117 (patch) | |
tree | 13699ad1a81c9371fe083ab65873aaf70c01e6b2 /aplus_tokens.c | |
parent | 21ed0c9090c6bab5e315474cd3a959abeb70ac11 (diff) | |
download | bw-atari8-tools-8f4d68dfc51726bc3f53742524522ad254f66117.tar.gz |
listbas: colorize aplus ops correctly, fix spacing of THEN, NOT, etc.
Diffstat (limited to 'aplus_tokens.c')
-rw-r--r-- | aplus_tokens.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/aplus_tokens.c b/aplus_tokens.c index 8d2249e..7073e1a 100644 --- a/aplus_tokens.c +++ b/aplus_tokens.c @@ -92,19 +92,19 @@ const int aplus_cmd_size = sizeof(aplus_cmds); const char *aplus_ops[] = { 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, ",", /* $12 */ "$", /* $13 */ ":", /* $14 */ ";", /* $15 */ "", /* $16 */ - "GOTO", /* $17 */ - "GOSUB", /* $18 */ - "TO", /* $19 */ - "STEP", /* $1a */ - "THEN", /* $1b */ - "USING", /* $1c */ + " GOTO ", /* $17 */ + " GOSUB ", /* $18 */ + " TO ", /* $19 */ + " STEP ", /* $1a */ + " THEN ", /* $1b */ + " USING ", /* $1c */ "#", /* $1d */ "<=", /* $1e */ "<>", /* $1f */ @@ -117,9 +117,9 @@ const char *aplus_ops[] = { "+", /* $26 */ "-", /* $27 */ "/", /* $28 */ - "NOT", /* $29 */ - "OR", /* $2a */ - "AND", /* $2b */ + " NOT ", /* $29 */ + " OR ", /* $2a */ + " AND ", /* $2b */ "!", /* $2c */ "&", /* $2d */ "(", /* $2e */ |