scc

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

commit e5501c13c9f2706fe5f5dafc23b0706a3cd1fc14
parent 1b0107f059a35efdbef66890593f2913c6b460ee
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 20 Mar 2015 10:31:54 -0400

Remove non used addr field in symbol of cc2

These field is not used, and maybe it will not be used
because it was not a good idea.

Diffstat:
Mcc2/cc2.h | 3---
Mcc2/parser.c | 1-
2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/cc2/cc2.h b/cc2/cc2.h @@ -66,9 +66,6 @@ struct symbol { short off; } v; struct { - short addr; - } l; - struct { short locals; short params; Node **body; diff --git a/cc2/parser.c b/cc2/parser.c @@ -452,7 +452,6 @@ deflabel(char *token) if (!curfun) error(ESYNTAX); sym = local(token); - sym->u.l.addr = listp - listexp; } static Symbol *