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

This commit is contained in:
Ruben Zwietering
2024-08-13 21:42:04 +02:00
committed by Eldred Habert
parent 379aa8c267
commit 60c03ec1e3

View File

@@ -37,6 +37,7 @@ static int
retry:
++lineNo;
int firstChar = getc(file);
lineBuf.clear();
switch (firstChar) {
case EOF: