summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/lex.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 146f7b882..a3b91cf4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2016-06-22 Peter Stephenson <p.stephenson@samsung.com>
+ * unposted: Src/lex.c: remove unused and no longer defined flag
+ from experiments for previous fix.
+
* 38746: Src/lex.c, Test/A02alias.ztst: Delay marking
a suffix alias as free until the last minute.
diff --git a/Src/lex.c b/Src/lex.c
index 5ad3474fe..6b20e14b5 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -1842,8 +1842,7 @@ checkalias(void)
if ((suf = strrchr(zshlextext, '.')) && suf[1] &&
suf > zshlextext && suf[-1] != Meta &&
(an = (Alias)sufaliastab->getnode(sufaliastab, suf+1)) &&
- !an->inuse && incmdpos &&
- !(inbufflags & INP_ALSUFF)) {
+ !an->inuse && incmdpos) {
inpush(dupstring(zshlextext), INP_ALIAS, an);
inpush(" ", INP_ALIAS, NULL);
inpush(an->text, INP_ALIAS, NULL);