From eab4f9a83c74b104bcfa81d574d5f8f8a7a85ad3 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 14 Dec 2010 09:59:04 +0000 Subject: 28528: Rearrange zleparse to lexflags Add (z+n+) --- Src/Zle/compcore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Src/Zle/compcore.c') diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index 415f91f79..2e983f62c 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -1481,7 +1481,7 @@ set_comp_sep(void) /* Put the string in the lexer buffer and call the lexer to * * get the words we have to expand. */ - zleparse = 1; + lexflags = LEXFLAGS_ACTIVE; ocs = zlemetacs; oll = zlemetall; ol = zlemetaline; @@ -1616,7 +1616,7 @@ set_comp_sep(void) } else p = NULL; - if (!got && !zleparse) { + if (!got && !lexflags) { DPUTS(!p, "no current word in substr"); got = 1; cur = i; @@ -1634,7 +1634,7 @@ set_comp_sep(void) noaliases = ona; strinend(); inpop(); - errflag = zleparse = 0; + errflag = lexflags = 0; noerrs = ne; lexrestore(); wb = owb; -- cgit 1.4.1