From 4e9e2af83c59b145ffe1b40da336a18584f47b2e Mon Sep 17 00:00:00 2001 From: johnvg Date: Mon, 3 Sep 2001 12:49:22 +0000 Subject: fix memory allocation bug git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@731 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- backendC/CleanCompilerSources/sa.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'backendC') diff --git a/backendC/CleanCompilerSources/sa.c b/backendC/CleanCompilerSources/sa.c index 7e27750..179b75b 100644 --- a/backendC/CleanCompilerSources/sa.c +++ b/backendC/CleanCompilerSources/sa.c @@ -3035,7 +3035,11 @@ static void init_predefined_symbols (void) strict functions (for strict annots), lists (2), conditional (4) and the apply. Also for the two list functions if necessary. */ - nr_funs = MaxNodeArity + MaxNodeArity + MaxNrAnnots + 2 + 4 + 1; + nr_funs = MaxNodeArity + MaxNodeArity + MaxNrAnnots + 2 + 4 + 1 +#if STRICT_LISTS + +3 +#endif + ; if (StrictDoLists) nr_funs += 2; -- cgit v1.2.3