aboutsummaryrefslogtreecommitdiff
path: root/listamsb.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-02-27 04:16:49 -0500
committerB. Watson <urchlay@slackware.uk>2025-02-27 04:16:49 -0500
commit88e7a18d1873592f8b084b0e2a516de8d2f3fdc0 (patch)
treebc3ee26ebfc1390c6888ac6a41c6e2382216b5ad /listamsb.c
parent0eace434fbca9bfcd7788f2c7cb021217fe52a5f (diff)
downloadbw-atari8-tools-88e7a18d1873592f8b084b0e2a516de8d2f3fdc0.tar.gz
listamsb: remove unused arg to unknown_token().
Diffstat (limited to 'listamsb.c')
-rw-r--r--listamsb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/listamsb.c b/listamsb.c
index a2a9110..b49b74e 100644
--- a/listamsb.c
+++ b/listamsb.c
@@ -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;