summaryrefslogtreecommitdiff
path: root/quickjs.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2023-12-22 11:06:37 +0100
committerFabrice Bellard <fabrice@bellard.org>2023-12-22 11:06:37 +0100
commite9290401cede905fbbd0c7b649160a77d8793dd8 (patch)
tree9d88955d80ae45794a0f6470c7bdbd0ff43fa241 /quickjs.c
parente68993b6788960de05167be624751d951745be78 (diff)
downloadquickjs-e9290401cede905fbbd0c7b649160a77d8793dd8.tar.gz
quickjs-e9290401cede905fbbd0c7b649160a77d8793dd8.zip
reduced JS_MAX_LOCAL_VARS (github issue #123)
Diffstat (limited to 'quickjs.c')
-rw-r--r--quickjs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quickjs.c b/quickjs.c
index 8a442ff..93d3949 100644
--- a/quickjs.c
+++ b/quickjs.c
@@ -197,7 +197,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)