commit 4fcf1afb4b17da514f823d16890dd4ece09ecf1e
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Thu Aug 27 16:08:34 2015 +0200
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Thu Aug 27 16:08:34 2015 +0200
Update nested variable in cast()
diff --git a/cc1/expr.c b/cc1/expr.c
index 233e003..b4cc289 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -1013,7 +1013,9 @@ cast(void)
default:
if (nested == NR_SUBEXPR)
error("too expressions nested by parentheses");
+ ++nested;
rp = expr();
+ --nested;
expect(')');
rp = postfix(rp);
break;