scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit c8bd4d46eef4cd45ead39a21da8b589b2e9cde1b
parent c4b7c0458ffee84c043739645afe0aedffb906ed
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Wed, 17 Jun 2026 15:41:10 +0200

cc1: Remove outdated TODO

Changing that means changing scc.

Diffstat:
Msrc/cmd/scc-cc/cc1/cpp.c | 1-
Msrc/cmd/scc-cc/cc1/symbol.c | 1-
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/cmd/scc-cc/cc1/cpp.c b/src/cmd/scc-cc/cc1/cpp.c @@ -506,7 +506,6 @@ expansion_too_long: static void addhideset(Symbol *sym) { - char *iname; Symbol **set, **p; set = input->hideset; diff --git a/src/cmd/scc-cc/cc1/symbol.c b/src/cmd/scc-cc/cc1/symbol.c @@ -311,7 +311,6 @@ lookup(int ns, char *name, int alloc) * to a struct we also want symbols of NS_IDEN which * are typedef, because in other case we cannot declare * fields of such types. - * TODO: Remove this trick */ if (sns == NS_KEYWORD && ns != NS_MACROPAR && ns != NS_CPP || (sym->flags & STYPEDEF) && ns >= NS_STRUCTS) {