more logging


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@334 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/libasn1fix/asn1fix_constraint.c b/libasn1fix/asn1fix_constraint.c
index 3f30009..8c6c73c 100644
--- a/libasn1fix/asn1fix_constraint.c
+++ b/libasn1fix/asn1fix_constraint.c
@@ -238,10 +238,12 @@
 
 	tmp_expr = asn1f_lookup_symbol(arg, mod, (*value)->value.reference);
 	if(tmp_expr == NULL) {
-		FATAL("Cannot find symbol %s "
+		FATAL("Cannot find symbol %s (%s) "
 			"used in %s subtype constraint at line %d",
 			asn1f_printable_reference((*value)->value.reference),
-			arg->expr->Identifier, arg->expr->_lineno);
+			mod->Identifier,
+			arg->expr->Identifier,
+			arg->expr->_lineno);
 		assert((*value)->type == ATV_REFERENCED);
 		return -1;
 	}