diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2011-02-24 13:48:47 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-02-24 13:48:47 +0000 |
| commit | 655370ff3c2c2136e58249fd774d6898381c3df5 (patch) | |
| tree | 7f450b7b136e2af58dd7d0fdb17614f91c78e53d | |
| parent | 28795 plus typos noticed by Mikael: careful with forked shells (diff) | |
| download | zsh-655370ff3c2c2136e58249fd774d6898381c3df5.tar zsh-655370ff3c2c2136e58249fd774d6898381c3df5.tar.gz zsh-655370ff3c2c2136e58249fd774d6898381c3df5.tar.bz2 zsh-655370ff3c2c2136e58249fd774d6898381c3df5.tar.lz zsh-655370ff3c2c2136e58249fd774d6898381c3df5.tar.xz zsh-655370ff3c2c2136e58249fd774d6898381c3df5.tar.zst zsh-655370ff3c2c2136e58249fd774d6898381c3df5.zip | |
28799: lexical analyser didn't stop early enough with completion words
| -rw-r--r-- | ChangeLog | 8 | ||||
| -rw-r--r-- | Src/lex.c | 2 |
2 files changed, 8 insertions, 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> * 28795: Src/exec.c: tweak to 28791 for forked shells. @@ -14253,5 +14259,5 @@ ***************************************************** * 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; gotword(); - if (zp == 1 && !lexflags) { + if ((zp & LEXFLAGS_ZLE) && !lexflags) { if (zshlextext == copy) zshlextext = tokstr; return 0; |
