mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-04 11:46:37 +02:00
Fixing env initialization for -m. Needed for -mchibi.repl -e'(repl)' to
use the default (scheme base) language.
This commit is contained in:
parent
216bfb87c9
commit
82752174c2
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -366,7 +366,7 @@ void run_main (int argc, char **argv) {
|
||||||
goto load_primitive;
|
goto load_primitive;
|
||||||
if (c != 'x') {prefix = sexp_import_prefix; suffix = sexp_import_suffix;}
|
if (c != 'x') {prefix = sexp_import_prefix; suffix = sexp_import_suffix;}
|
||||||
mods_loaded = 1;
|
mods_loaded = 1;
|
||||||
load_init(1);
|
load_init(c == 'x');
|
||||||
#if SEXP_USE_MODULES
|
#if SEXP_USE_MODULES
|
||||||
check_nonull_arg(c, arg);
|
check_nonull_arg(c, arg);
|
||||||
len = strlen(arg)+strlen(prefix)+strlen(suffix);
|
len = strlen(arg)+strlen(prefix)+strlen(suffix);
|
||||||
|
|
Loading…
Add table
Reference in a new issue