mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Make sure that if a syntax error occurs, the parser does not try to evaluate command substitutions in the command
darcs-hash:20061008234458-ac50b-96f9be42b12a9d2d2b61f6700b25c1242e1c385b.gz
This commit is contained in:
parent
941b472b37
commit
414fa591b8
1 changed files with 5 additions and 1 deletions
6
parser.c
6
parser.c
|
@ -1574,7 +1574,11 @@ static void parse_job_main_loop( process_t *p,
|
|||
{
|
||||
int skip=0;
|
||||
|
||||
if( current_block->skip )
|
||||
if( j->skip )
|
||||
{
|
||||
skip = 1;
|
||||
}
|
||||
else if( current_block->skip )
|
||||
{
|
||||
/*
|
||||
If this command should be skipped, we do not expand the arguments
|
||||
|
|
Loading…
Reference in a new issue