mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-18 09:32:47 +08:00
Make sure tokenization errors in eval_args doesn't cause fish to crash while error reporting
darcs-hash:20060510115351-ac50b-57354a1a6f044504a16e294840d0092ebf98f600.gz
This commit is contained in:
parent
e3dd94f272
commit
786144ba86
2
parser.c
2
parser.c
|
@ -944,7 +944,7 @@ int eval_args( const wchar_t *line, array_list_t *args )
|
||||||
int do_loop=1;
|
int do_loop=1;
|
||||||
|
|
||||||
proc_push_interactive(0);
|
proc_push_interactive(0);
|
||||||
|
current_tokenizer = &tok;
|
||||||
current_tokenizer_pos = 0;
|
current_tokenizer_pos = 0;
|
||||||
|
|
||||||
tok_init( &tok, line, 0 );
|
tok_init( &tok, line, 0 );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user