diff options
-rw-r--r-- | listamsb.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -23,6 +23,9 @@ #define TOK_SQUOTE 0x9a #define TOK_BANG 0x9b +/* AMSB's token for ELSE */ +#define TOK_ELSE 0x9c + /* good old Atari EOL character */ #define EOL 0x9b @@ -339,8 +342,10 @@ int next_line(void) { continue; } - if(was_colon && byte != TOK_SQUOTE && byte != TOK_BANG) { - if(printing) putc(':', outfile); + if(was_colon) { + if(byte != TOK_SQUOTE && byte != TOK_BANG && byte != TOK_ELSE) { + if(printing) putc(':', outfile); + } was_colon = 0; } |