summaryrefslogtreecommitdiff
path: root/Src/Zle/compcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/compcore.c')
-rw-r--r--Src/Zle/compcore.c6
1 files changed, 3 insertions, 3 deletions
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;