[hackers] [scc] Do not count argument context in the block count || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 11 Aug 2015 17:57:55 +0200 (CEST)

commit 1372160651f5eea2d275bf4509aeec427b6ce5e6
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Tue Aug 11 16:13:44 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Aug 11 16:13:44 2015 +0200

    Do not count argument context in the block count

diff --git a/cc1/symbol.c b/cc1/symbol.c
index 6fa736d..1f4aefa 100644
--- a/cc1/symbol.c
+++ b/cc1/symbol.c
_AT_@ -94,7 +94,7 @@ unlinkhash(Symbol *sym)
 void
 pushctx(void)
 {
- if (++curctx == NR_BLOCK)
+ if (++curctx == NR_BLOCK+1)
                 error("too much nested blocks");
 }
 
Received on Tue Aug 11 2015 - 17:57:55 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 11 2015 - 18:00:19 CEST