mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 22:51:42 +02:00
28799: lexical analyser didn't stop early enough with completion words
This commit is contained in:
parent
4bfb5daa7e
commit
655370ff3c
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2011-02-24 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* 28799: Src/lex.c: fix bug introduced with lexflags
|
||||||
|
that lexical analyser didn't stop quickly enough when
|
||||||
|
retrieving completion words.
|
||||||
|
|
||||||
2011-02-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
2011-02-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
* 28795: Src/exec.c: tweak to 28791 for forked shells.
|
* 28795: Src/exec.c: tweak to 28791 for forked shells.
|
||||||
|
@ -14253,5 +14259,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5207 $
|
* $Revision: 1.5208 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -1825,7 +1825,7 @@ exalias(void)
|
||||||
int zp = lexflags;
|
int zp = lexflags;
|
||||||
|
|
||||||
gotword();
|
gotword();
|
||||||
if (zp == 1 && !lexflags) {
|
if ((zp & LEXFLAGS_ZLE) && !lexflags) {
|
||||||
if (zshlextext == copy)
|
if (zshlextext == copy)
|
||||||
zshlextext = tokstr;
|
zshlextext = tokstr;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue