cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit 0f31c1e97fa86ca4c82ce726852621380ddc8c46
parent 401e6908a859b46da5c8d8059ccc58c189cd4a26
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 20 Feb 2019 22:37:37 -0800

Use name parameter instead of tok.lit

This was only called with tok.lit, so it didn't matter in practice.

Diffstat:
Mdecl.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/decl.c b/decl.c @@ -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; }