aboutsummaryrefslogtreecommitdiff
path: root/whichbas.c
diff options
context:
space:
mode:
Diffstat (limited to 'whichbas.c')
-rw-r--r--whichbas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/whichbas.c b/whichbas.c
index 8f0e258..fc39609 100644
--- a/whichbas.c
+++ b/whichbas.c
@@ -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();
}