mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibDebug: Unbreak LineProgram::parse_source_directories()
This regressed with ac9f6fd1f8 where
we switched to using InputMemoryStream.
This commit is contained in:
@@ -56,8 +56,9 @@ void LineProgram::parse_source_directories()
|
||||
{
|
||||
m_source_directories.append(".");
|
||||
|
||||
String directory;
|
||||
while (m_stream >> directory) {
|
||||
while (m_stream.peek_or_error()) {
|
||||
String directory;
|
||||
m_stream >> directory;
|
||||
#ifdef DWARF_DEBUG
|
||||
dbg() << "directory: " << directory;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user