mirror of
https://github.com/ccxvii/mujs.git
synced 2026-02-05 17:29:43 +08:00
Increase default string limit to 256M.
This commit is contained in:
2
jsi.h
2
jsi.h
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user