From 875a635648576b4fad4ad32fed82d223ebee71ef Mon Sep 17 00:00:00 2001 From: Russell Joyce Date: Mon, 15 Jun 2020 18:29:04 +0100 Subject: [PATCH] Increased size of temporary variable creation buffer Allows for larger arrays to be defined and passed around without hitting the limit, but at a cost of higher stack memory usage in the VariableAllocValueAndCopy() function. --- variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variable.c b/variable.c index a28f166..1b211b2 100644 --- a/variable.c +++ b/variable.c @@ -4,7 +4,7 @@ #include "interpreter.h" /* maximum size of a value to temporarily copy while we create a variable */ -#define MAX_TMP_COPY_BUF (256) +#define MAX_TMP_COPY_BUF (2048) /* initialize the variable system */