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 /Src | |
parent | 4bfb5daa7ee0f3d2318ddd244e70fcb169f41e64 (diff) | |
download | zsh-655370ff3c2c2136e58249fd774d6898381c3df5.tar.gz zsh-655370ff3c2c2136e58249fd774d6898381c3df5.tar.xz zsh-655370ff3c2c2136e58249fd774d6898381c3df5.zip |
28799: lexical analyser didn't stop early enough with completion words
Diffstat (limited to 'Src')
-rw-r--r-- | Src/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/lex.c b/Src/lex.c index 8636a6fb4..f4b22370b 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -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; |