diff options
-rw-r--r-- | whichbas.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -104,7 +104,7 @@ CALLBACK(handle_cmd) { if(tok >= 0x59) remove_type(BT_BXL); if(tok >= 0x65) { - fprintf(stderr, "handle_cmd: invalid command %02x\n", tok); + fprintf(stderr, "handle_cmd: invalid command %02x at line %d\n", tok, lineno); bas_type = BT_INVALID; print_result(); } @@ -247,7 +247,7 @@ CALLBACK(handle_op) { } if(tok >= 0x6E) { - fprintf(stderr, "handle_op: invalid operator %02x\n", tok); + fprintf(stderr, "handle_op: invalid operator %02x at line %d\n", tok, lineno); bas_type = BT_INVALID; print_result(); } |