Skip to content

Commit c259dfb

Browse files
author
Goober5000
committed
improve error messages
1 parent 88b87b8 commit c259dfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/parse/parselo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2857,7 +2857,7 @@ int stuff_int_list(int *ilp, int max_ints, int lookup_type)
28572857
break;
28582858

28592859
default:
2860-
Error(LOCATION,"Unknown lookup_type in stuff_int_list");
2860+
Error(LOCATION,"Unknown lookup_type %d in stuff_int_list", lookup_type);
28612861
break;
28622862
}
28632863

@@ -3079,7 +3079,7 @@ void mark_int_list(int *ilp, int max_ints, int lookup_type)
30793079
break;
30803080

30813081
default:
3082-
Error(LOCATION,"Unknown lookup_type in stuff_int_list");
3082+
Error(LOCATION,"Unknown lookup_type %d in mark_int_list", lookup_type);
30833083
break;
30843084
}
30853085

0 commit comments

Comments
 (0)