Clear the old line buffer when filling the next one in nextLine

This commit is contained in:
Ruben Zwietering authored and Eldred Habert committed 2024-08-18 19:44:04 +02:00
1 parent 379aa8c267
commit 60c03ec1e3
1 file changed
+1
+1
View File
@@ -37,6 +37,7 @@ static int
retry:
++lineNo;
int firstChar = getc(file);
lineBuf.clear();
switch (firstChar) {
case EOF: