mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibDebug: Unbreak LineProgram::parse_source_directories()
This regressed with ac9f6fd1f8
where
we switched to using InputMemoryStream.
This commit is contained in:
parent
078969b92f
commit
4c44c96bc6
Notes:
sideshowbarker
2024-07-19 04:13:56 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4c44c96bc61
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue