summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2011-10-11 19:18:57 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-10-11 19:19:25 (GMT)
commit17372c73a7605c1a2815c7389259cab3b8443f3f (patch) (side-by-side diff)
tree8f5fcd1fa936516332097413e08e7fee1c45f3db /src
parentb5cbb05d00e242aa653460a100715f7948396a64 (diff)
downloadcflow-17372c73a7605c1a2815c7389259cab3b8443f3f.tar.gz
cflow-17372c73a7605c1a2815c7389259cab3b8443f3f.tar.bz2
Minor fix.
* src/parser.c (dcl): allow for qualifier wherever a modifier is allowed.
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/parser.c5
1 files changed, 2 insertions, 3 deletions
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;

Return to:

Send suggestions and report system problems to the System administrator.