diff options
author | B. Watson <urchlay@slackware.uk> | 2025-02-27 04:16:49 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-02-27 04:16:49 -0500 |
commit | 88e7a18d1873592f8b084b0e2a516de8d2f3fdc0 (patch) | |
tree | bc3ee26ebfc1390c6888ac6a41c6e2382216b5ad | |
parent | 0eace434fbca9bfcd7788f2c7cb021217fe52a5f (diff) | |
download | bw-atari8-tools-88e7a18d1873592f8b084b0e2a516de8d2f3fdc0.tar.gz |
listamsb: remove unused arg to unknown_token().
-rw-r--r-- | listamsb.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -227,7 +227,7 @@ void read_header(void) { } } -void unknown_token(int lineno, unsigned char byte, int ext) { +void unknown_token(unsigned char byte, int ext) { fprintf(outfile, "<unknown %stoken ", (ext ? "extended " : "")); fprintf(outfile, "%s%02x>", (ext ? "$ff ": ""), byte); } @@ -335,7 +335,7 @@ int next_line(void) { if(byte >= MIN_EXT_TOK && byte <= MAX_EXT_TOK) { if(printing) fputs(ext_tokens[byte - MIN_EXT_TOK], outfile); } else { - if(printing) unknown_token(lineno, byte, 1); + if(printing) unknown_token(byte, 1); warnings++; } was_ff = 0; @@ -346,7 +346,7 @@ int next_line(void) { if(byte == TOK_SQUOTE || byte == TOK_BANG || byte == TOK_REM) in_comment = 1; } else if(byte >= 0x80) { - if(printing) unknown_token(lineno, byte, 0); + if(printing) unknown_token(byte, 0); warnings++; } else { if(!byte) break; |