Added fun_version and env_all as opcodes and some fixes in httpserver. (0.37.30)
This commit is contained in:
parent
17c2b44c1a
commit
a27ff12b08
12 changed files with 126 additions and 6 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include "parser.h"
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef FUN_WITH_REPL
|
||||
|
|
@ -42,6 +43,9 @@ static void print_usage(const char *prog) {
|
|||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
/* Set FUN_EXECUTABLE environment variable to the path of this binary */
|
||||
setenv("FUN_EXECUTABLE", argv[0], 1);
|
||||
|
||||
VM vm;
|
||||
vm_init(&vm);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue