mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-21 22:59:16 +02:00
fixing bug introduced when the space after the -l option was made optional
This commit is contained in:
parent
cb44b8f4fe
commit
5469e699b6
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -107,7 +107,7 @@ void run_main (int argc, char **argv) {
|
|||
case 'l':
|
||||
load_init();
|
||||
arg = ((argv[i][2] == '\0') ? argv[++i] : argv[i]+2);
|
||||
check_exception(ctx, sexp_load_module_file(ctx, argv[++i], env));
|
||||
check_exception(ctx, sexp_load_module_file(ctx, arg, env));
|
||||
break;
|
||||
case 'm':
|
||||
load_init();
|
||||
|
|
Loading…
Add table
Reference in a new issue