about summary refs log tree commit diff
path: root/Src/lex.c
diff options
context:
space:
mode:
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);