[hackers] [sbase] bc: Increment the number of nestting to 32 || Roberto E. Vargas Caballero
commit 8ceddc568dcfae458ed9cb2c5b9421cf4b612db1
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
AuthorDate: Sat Dec 13 15:37:08 2025 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
CommitDate: Sat Dec 13 15:37:08 2025 +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.
diff --git a/bc.y b/bc.y
index 9dcfd15..59c4de3 100644
--- a/bc.y
+++ b/bc.y
_AT_@ -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)
Received on Sat Dec 13 2025 - 15:39:10 CET
This archive was generated by hypermail 2.3.0
: Sat Dec 13 2025 - 15:48:34 CET