diff options
-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; |