aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index b07237ee..19520eae 100644
--- a/parse.c
+++ b/parse.c
@@ -1618,7 +1618,7 @@ struct symbol *ctype_integer(int size, int want_unsigned)
static struct token *handle_qualifiers(struct token *t, struct decl_state *ctx)
{
while (token_type(t) == TOKEN_IDENT) {
- struct symbol *s = lookup_symbol(t->ident, NS_TYPEDEF);
+ struct symbol *s = lookup_keyword(t->ident, NS_TYPEDEF);
if (!s)
break;
if (s->type != SYM_KEYWORD)