about summary refs log tree commit diff
path: root/Src/lex.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2002-01-08 15:33:23 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2002-01-08 15:33:23 +0000
commit3013e98ca4f5bb8d9365c31dc09ea0f625e7733e (patch)
treeb66794eab2a37e9bd7bf769f25a30aaae948ab56 /Src/lex.c
parent2ed74b89eaf9904293b3b0b95f59d0620c114b05 (diff)
downloadzsh-3013e98ca4f5bb8d9365c31dc09ea0f625e7733e.tar.gz
zsh-3013e98ca4f5bb8d9365c31dc09ea0f625e7733e.tar.xz
zsh-3013e98ca4f5bb8d9365c31dc09ea0f625e7733e.zip
fix completion after var+= to use value context (16418)
Diffstat (limited to 'Src/lex.c')
-rw-r--r--Src/lex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/lex.c b/Src/lex.c
index 11404a646..cb76bc7ab 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -1140,7 +1140,8 @@ gettokstr(int c, int sub)
 			skipparens(Inbrack, Outbrack, &t);
 		    }
 		}
-		if (*t == '+') t++;
+		if (*t == '+')
+                    t++;
 		if (t == bptr) {
 		    e = hgetc();
 		    if (e == '(' && incmdpos) {