1
0
Fork 0
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:
Tanaka Akira 2000-02-04 12:05:53 +00:00
parent bf601158a3
commit a260aa4a4c
2 changed files with 7 additions and 1 deletions

View file

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

View file

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