aboutsummaryrefslogtreecommitdiff
path: root/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'decl.c')
-rw-r--r--decl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/decl.c b/decl.c
index 53aca7f..d81f54b 100644
--- a/decl.c
+++ b/decl.c
@@ -349,6 +349,7 @@ declspecs(struct scope *s, enum storageclass *sc, enum funcspec *fs, int *align)
if (!d || d->kind != DECLTYPE)
goto done;
t = d->type;
+ tq |= d->qual;
++ntypes;
next();
break;