scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 2ba7f352c6989b51f15ea72f8b819e739f3ce1e4
parent b84e1437a4a054d68f3b49fc908580939a795247
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 27 Sep 2015 10:27:46 +0200

Small style change in lookup()

Diffstat:
Mcc1/symbol.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cc1/symbol.c b/cc1/symbol.c @@ -250,9 +250,7 @@ lookup(int ns, char *name) if (sns == NS_KEYWORD || sns == NS_CPP || sns == ns) return sym; } - sym = allocsym(ns, name); - - return sym; + return allocsym(ns, name); } void