From 655370ff3c2c2136e58249fd774d6898381c3df5 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 24 Feb 2011 13:48:47 +0000 Subject: 28799: lexical analyser didn't stop early enough with completion words --- Src/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/lex.c') 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; -- cgit 1.4.1