mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix bug in parser, on incomplete blocks. This bug was handled correctly by the error handler, so it was non-critical.
darcs-hash:20070422094847-ac50b-f8aff4c2939725e256b2f6d020f98240d2658d50.gz
This commit is contained in:
parent
8ab1d0254c
commit
e9790db64a
1 changed files with 58 additions and 55 deletions
3
parser.c
3
parser.c
|
@ -2161,6 +2161,8 @@ static int parse_job( process_t *p,
|
|||
BLOCK_END_ERR_MSG );
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
if( !make_sub_block )
|
||||
{
|
||||
|
@ -2227,6 +2229,7 @@ static int parse_job( process_t *p,
|
|||
|
||||
}
|
||||
else tok_next( tok );
|
||||
}
|
||||
|
||||
}
|
||||
else tok_next( tok );
|
||||
|
|
Loading…
Reference in a new issue