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:
axel 2006-05-10 21:53:51 +10:00
parent e3dd94f272
commit 786144ba86

View File

@ -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 );