more info for debugging


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@778 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/libasn1fix/asn1fix_internal.h b/libasn1fix/asn1fix_internal.h
index 6b15778..79a5cf2 100644
--- a/libasn1fix/asn1fix_internal.h
+++ b/libasn1fix/asn1fix_internal.h
@@ -104,7 +104,10 @@
 		int _save_errno = errno;			\
 		if(code < 0) {					\
 			if(arg->debug)				\
-				arg->debug(code, fmt, ##args);	\
+			arg->debug(code, fmt " in %s (%s@%d)",	\
+				##args,				\
+				arg->mod->source_file_name,	\
+				__FILE__, __LINE__);		\
 		} else if(arg->eh) {				\
 			arg->eh(code, fmt " in %s", ##args,	\
 				arg->mod->source_file_name);	\