mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 07:22:45 +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
					
				
					 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
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling