diff options
Diffstat (limited to 'repl.c')
| -rw-r--r-- | repl.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -32,15 +32,19 @@ help(void) "\n" " -h, --help show this help message\n" " -db debug: print bytecode\n" + " -dG debug: stress GC\n" + " -dg debug: print GC info\n" "\n"); } int main(int argc, char **argv) { - PezContext *cx = pez_new(NULL, NULL); + PezContext *cx = pez_new(NULL, NULL, 32*1024 /* 32KiB stack */); FILE *fp = NULL; int i, ret = 0; + assert(cx != NULL && "no context"); + for (i = 1; i < argc; ++i) { const char *arg = argv[i]; if (*arg == '-') { |