diff options
-rw-r--r-- | decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -411,7 +411,7 @@ istypename(struct scope *s, const char *name) { struct declaration *d; - d = scopegetdecl(s, tok.lit, 1); + d = scopegetdecl(s, name, 1); return d && d->kind == DECLTYPE; } |