1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-29 19:00:57 +02:00

Define aliasspaceflag, and init it in parse_event().

This commit is contained in:
Wayne Davison 2000-07-19 20:40:18 +00:00
parent e4c9131b83
commit eaea5cc0db

View file

@ -34,7 +34,10 @@
/**/ /**/
mod_export int incmdpos; mod_export int incmdpos;
/**/
int aliasspaceflag;
/* != 0 if we are in the middle of a [[ ... ]] */ /* != 0 if we are in the middle of a [[ ... ]] */
/**/ /**/
@ -418,6 +421,7 @@ parse_event(void)
{ {
tok = ENDINPUT; tok = ENDINPUT;
incmdpos = 1; incmdpos = 1;
aliasspaceflag = 0;
yylex(); yylex();
init_parse(); init_parse();
return ((par_event()) ? bld_eprog() : NULL); return ((par_event()) ? bld_eprog() : NULL);