better logging

diff --git a/libasn1fix/asn1fix_value.c b/libasn1fix/asn1fix_value.c
index 18d8686..6025942 100644
--- a/libasn1fix/asn1fix_value.c
+++ b/libasn1fix/asn1fix_value.c
@@ -29,12 +29,14 @@
 	type_expr = asn1f_find_terminal_type(arg, expr);
 	DEBUG("terminal type %p", type_expr);
 	if(type_expr == 0) {
-		FATAL("Terminal type for is %s not found", expr->Identifier);
+		FATAL("Terminal type for %s at line %d not found",
+			expr->Identifier, expr->_lineno);
 		return -1;
 	}
 
 	if(asn1f_look_value_in_type(arg, type_expr, expr) == -1) {
-		FATAL("Value not found in type for %s", expr->Identifier);
+		FATAL("Value not found in type for %s at line %d",
+			expr->Identifier, expr->_lineno);
 		return -1;
 	}