mirror of https://gerrit.osmocom.org/asn1c
added file and line number information
This commit is contained in:
parent
f9a2c3ee4d
commit
c9f64e6f69
|
@ -4,5 +4,6 @@ extern int opt_debug;
|
|||
#define ASN_DEBUG(fmt, args...) do { \
|
||||
if(opt_debug < 2) break; \
|
||||
fprintf(stderr, fmt, ##args); \
|
||||
fprintf(stderr, "\n"); \
|
||||
fprintf(stderr, " (%s:%d)\n", \
|
||||
__FILE__, __LINE__); \
|
||||
} while(0)
|
||||
|
|
Loading…
Reference in New Issue