Increase default string limit to 256M.

This commit is contained in:
Tor Andersson
2021-09-20 14:08:39 +02:00
parent b06a5e9b02
commit daa2241087

2
jsi.h
View File

@@ -94,7 +94,7 @@ typedef struct js_StackTrace js_StackTrace;
#define JS_ASTLIMIT 100 /* max nested expressions */
#endif
#ifndef JS_STRLIMIT
#define JS_STRLIMIT (1<<16) /* max string length */
#define JS_STRLIMIT (1<<28) /* max string length */
#endif
/* instruction size -- change to int if you get integer overflow syntax errors */