diff --git a/src/libutil/error.cc b/src/libutil/error.cc index 124603c34..fd6f69b7f 100644 --- a/src/libutil/error.cc +++ b/src/libutil/error.cc @@ -110,6 +110,7 @@ std::optional getCodeLines(const ErrPos &errPos) int pl = errPos.line - 1; LinesOfCode loc; + do { std::getline(iss, line);