From 17372c73a7605c1a2815c7389259cab3b8443f3f Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 11 Oct 2011 22:18:57 +0300 Subject: Minor fix. * src/parser.c (dcl): allow for qualifier wherever a modifier is allowed. --- src/parser.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/parser.c b/src/parser.c index 2e4148a..b933860 100644 --- a/src/parser.c +++ b/src/parser.c @@ -759,9 +759,8 @@ dcl(Ident *idptr) nexttoken(); type = tok.type; putback(); - if (type == TYPE) - continue; - else if (type != MODIFIER) + if (!(type == TYPE || + type == MODIFIER || type == QUALIFIER)) break; } else if (tok.type == ')' || tok.type == ';') { return 1; -- cgit v1.2.1