shithub: scc

Download patch

ref: 1372160651f5eea2d275bf4509aeec427b6ce5e6
parent: 31704f8d6cf7fe145c2e7c0109f46bf9a175bd21
author: Roberto E. Vargas Caballero <[email protected]>
date: Tue Aug 11 12:13:44 EDT 2015

Do not count argument context in the block count

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