chiark
/
gitweb
/
~ian
/
userv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Parser fixes:
[userv.git]
/
lexer.l.m4
diff --git
a/lexer.l.m4
b/lexer.l.m4
index 78aab9d4020f4ced1b63aa6942844679f82e6aa0..7b42a1d33914f1678f5098402121c325e9445b6d 100644
(file)
--- a/
lexer.l.m4
+++ b/
lexer.l.m4
@@
-156,7
+156,7
@@
changequote({*,*})
char *ep;
lr_min= (int)strtoul(yytext,&ep,10);
assert(*ep == HYPHEN);
char *ep;
lr_min= (int)strtoul(yytext,&ep,10);
assert(*ep == HYPHEN);
-
assert(*++
ep);
+
ep++; assert(*
ep);
lr_max= (int)strtoul(ep,&ep,10);
assert(!*ep);
if (lr_max < lr_min)
lr_max= (int)strtoul(ep,&ep,10);
assert(!*ep);
if (lr_max < lr_min)
@@
-167,7
+167,7
@@
changequote({*,*})
char *ep;
lr_min= (int)strtoul(yytext,&ep,10);
assert(*ep == HYPHEN);
char *ep;
lr_min= (int)strtoul(yytext,&ep,10);
assert(*ep == HYPHEN);
-
assert(!*++
ep);
+
ep++; assert(!*
ep);
lr_max=-1;
return tokv_fdstoend;
}
lr_max=-1;
return tokv_fdstoend;
}