commit 8ceddc568dcfae458ed9cb2c5b9421cf4b612db1
parent 54f1f935c0024550d1715b173d662e9bf9ee2eb4
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Sat, 13 Dec 2025 15:37:08 +0100
bc: Increment the number of nestting to 32
The number of 10 nested control flow data structures was too
low, and a value of 32 would work for almost any bc program.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bc.y b/bc.y
@@ -15,7 +15,7 @@
#include "util.h"
#define DIGITS "0123456789ABCDEF"
-#define NESTED_MAX 10
+#define NESTED_MAX 32
#define funid(f) ((f)[0] - 'a' + 1)