diff options
author | Michael Forney <mforney@mforney.org> | 2019-02-20 22:37:37 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-02-20 22:45:49 -0800 |
commit | 0f31c1e97fa86ca4c82ce726852621380ddc8c46 (patch) | |
tree | e5904396ab877d1ec167722dface479d209aebc9 | |
parent | 401e6908a859b46da5c8d8059ccc58c189cd4a26 (diff) | |
download | cproc-0f31c1e97fa86ca4c82ce726852621380ddc8c46.tar.xz |
Use name parameter instead of tok.lit
This was only called with tok.lit, so it didn't matter in practice.
-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; } |