mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
zsh-workers/9558
This commit is contained in:
parent
bf601158a3
commit
a260aa4a4c
2 changed files with 7 additions and 1 deletions
|
@ -3096,6 +3096,8 @@ loadautofn(Shfunc shf)
|
|||
zerr("%s: function definition file not found", shf->nam, 0);
|
||||
return 1;
|
||||
}
|
||||
if (!prog)
|
||||
prog = &dummy_eprog;
|
||||
PERMALLOC {
|
||||
shf->funcdef = dupeprog(stripkshdef(prog, shf->nam));
|
||||
} LASTALLOC;
|
||||
|
|
|
@ -357,7 +357,11 @@ parse_list(void)
|
|||
incmdpos = 1;
|
||||
yylex();
|
||||
ret = par_list();
|
||||
if (tok == LEXERR) {
|
||||
#if 0
|
||||
if (tok == LEXERR)
|
||||
#endif
|
||||
if (tok != ENDINPUT)
|
||||
{
|
||||
yyerror(0);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue