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:
parent
e4c9131b83
commit
eaea5cc0db
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue