commit 0094749da9139a5055e885bc2d32fbf0a15f25fa
parent e7a79eec931b0a78e6b1a8884060c62d979035de
Author: Fabrice Bellard <fabrice@bellard.org>
Date: Fri, 22 Dec 2023 11:06:37 +0100
reduced JS_MAX_LOCAL_VARS (github issue #123)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/quickjs/quickjs.c b/quickjs/quickjs.c
@@ -200,7 +200,7 @@ typedef enum JSErrorEnum {
JS_NATIVE_ERROR_COUNT, /* number of different NativeError objects */
} JSErrorEnum;
-#define JS_MAX_LOCAL_VARS 65536
+#define JS_MAX_LOCAL_VARS 65535
#define JS_STACK_SIZE_MAX 65534
#define JS_STRING_LEN_MAX ((1 << 30) - 1)