scc

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

commit 1372160651f5eea2d275bf4509aeec427b6ce5e6
parent 31704f8d6cf7fe145c2e7c0109f46bf9a175bd21
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 11 Aug 2015 16:13:44 +0200

Do not count argument context in the block count

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

diff --git a/cc1/symbol.c b/cc1/symbol.c @@ -94,7 +94,7 @@ unlinkhash(Symbol *sym) void pushctx(void) { - if (++curctx == NR_BLOCK) + if (++curctx == NR_BLOCK+1) error("too much nested blocks"); }