about summary refs log tree commit diff
path: root/Src/lex.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-10 09:39:17 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-10 09:39:17 +0000
commit5f6c22704434f8e98787815764357147b7f87d9f (patch)
treebb0ff3abe8604367324bf3d92f31330ff336f266 /Src/lex.c
parentb1e5dd85179a2ffd2d0235493d40e258847fa596 (diff)
downloadzsh-5f6c22704434f8e98787815764357147b7f87d9f.tar.gz
zsh-5f6c22704434f8e98787815764357147b7f87d9f.tar.xz
zsh-5f6c22704434f8e98787815764357147b7f87d9f.zip
zsh-workers/8184
Diffstat (limited to 'Src/lex.c')
-rw-r--r--Src/lex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/lex.c b/Src/lex.c
index 069f9b39b..d88e57c22 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -642,6 +642,7 @@ gettok(void)
 	    }
 	    hungetc(d);
 	    lexstop = 0;
+	    tokfd = -1;
 	    return AMPOUTANG;
 	}
 	hungetc(d);