aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c
index d477f16..8c53942 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -721,2 +721,6 @@ fake_struct(Ident *ident)
{
+ while (tok.type == QUALIFIER &&
+ (strcmp(tok.token, "const") == 0 ||
+ strcmp(tok.token, "volatile") == 0))
+ nexttoken();
ident->type_end = -1;

Return to:

Send suggestions and report system problems to the System administrator.