aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c/enber.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-01-17 11:45:14 +0000
committerLev Walkin <vlm@lionet.info>2005-01-17 11:45:14 +0000
commit0af5f1a37af05e363cf09c7f3a3049fda9a49f18 (patch)
treea3eec4de01aa0b5832577abf46938cf07c549946 /asn1c/enber.c
parent659c63b7462412623650bab37349b1ad98dbebca (diff)
more debugging
Diffstat (limited to 'asn1c/enber.c')
-rw-r--r--asn1c/enber.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1c/enber.c b/asn1c/enber.c
index 2a2c8fb3..cf807e50 100644
--- a/asn1c/enber.c
+++ b/asn1c/enber.c
@@ -207,15 +207,15 @@ process_line(const char *fname, char *line, int lineno) {
case '#': /* This is a comment */
return 0;
default:
- fprintf(stderr, "%s: Missing '<' after whitespace\n", fname);
+ fprintf(stderr, "%s: Missing '<' after whitespace at line %d\n", fname, lineno);
exit(EX_DATAERR);
}
/* Find a tag closing angle bracket */
for(; *line && *line != '>'; line++) {
if(*line < ' ') {
- fprintf(stderr, "%s: Invalid charset (%d)\n",
- fname, *(const unsigned char *)line);
+ fprintf(stderr, "%s: Invalid charset (%d) at line %d\n",
+ fname, *(const unsigned char *)line, lineno);
exit(EX_DATAERR);
}
}