commit 4735283b475d30289ba7384f62b64e4e53406d0e
parent 1ad61425f50fc4f6dc66ccbc6bca4c6330b8027c
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 6 Jul 2013 08:58:33 +0200
Fix bug in dirdcl()
accept() already pass to the next element in the input, so calling
next() after accept() means losing a token.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/decl.c b/decl.c
@@ -52,7 +52,6 @@ dirdcl(register struct ctype *tp)
for (;;) {
if (accept('(')) {
- next();
pushtype(FTN);
if (accept(')'))
; /* TODO: k&r function */