aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-10-11 22:18:57 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-10-11 22:19:25 +0300
commit17372c73a7605c1a2815c7389259cab3b8443f3f (patch)
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')
-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.