aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c/enber.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-06-08 00:06:59 +0000
committerLev Walkin <vlm@lionet.info>2005-06-08 00:06:59 +0000
commitf9854347fef55a3c3e3b109de0126246676c1235 (patch)
tree4fa859f1d101ec923c7fad97db5b0d5306fc0d01 /asn1c/enber.c
parent4a4bdf7b89290ebc1593b2c63756bbe057dbce88 (diff)
offset printing
Diffstat (limited to 'asn1c/enber.c')
-rw-r--r--asn1c/enber.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/asn1c/enber.c b/asn1c/enber.c
index 1ecef6f5..12dae96e 100644
--- a/asn1c/enber.c
+++ b/asn1c/enber.c
@@ -179,8 +179,10 @@ process_line(const char *fname, char *line, int lineno) {
ssize_t ret;
(void)fname;
- /* Find a tag opening angle bracket */
+ /* Skip the whitespace */
for(; *line == ' ' || *line == '\t'; line++);
+
+ /* Find a tag opening angle bracket */
op = line;
switch(*op) {
case '<': /* That's what we want! A tag opening */
@@ -192,7 +194,9 @@ process_line(const char *fname, char *line, int lineno) {
case '#': /* This is a comment */
return 0;
default:
- fprintf(stderr, "%s: Missing '<' after whitespace at line %d\n", fname, lineno);
+ fprintf(stderr,
+ "%s: Missing '<' after whitespace at line %d\n",
+ fname, lineno);
exit(EX_DATAERR);
}