diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2023-12-22 11:06:37 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-22 15:05:54 +0100 |
commit | 498a82fc08bb764de552b62bf05f0158ccf6d797 (patch) | |
tree | 626722c233fab7b6de59e61c0b5ae2bc5954d85a /lib/quickjs/quickjs.c | |
parent | b8f77df68d2560e94acc2edfffa1896835a511a6 (diff) | |
download | chawan-498a82fc08bb764de552b62bf05f0158ccf6d797.tar.gz |
reduced JS_MAX_LOCAL_VARS (github issue #123)
Diffstat (limited to 'lib/quickjs/quickjs.c')
-rw-r--r-- | lib/quickjs/quickjs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/quickjs/quickjs.c b/lib/quickjs/quickjs.c index 79e63dab..ff974c3d 100644 --- a/lib/quickjs/quickjs.c +++ b/lib/quickjs/quickjs.c @@ -198,7 +198,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) |