| 
					
					
						
							
						
					
					
				 | 
				@ -46,7 +46,7 @@ namespace storm { | 
			
		
		
	
		
			
				 | 
				 | 
				            size_t lineNo = 0; | 
				 | 
				 | 
				            size_t lineNo = 0; | 
			
		
		
	
		
			
				 | 
				 | 
				            std::string toplevelId = ""; | 
				 | 
				 | 
				            std::string toplevelId = ""; | 
			
		
		
	
		
			
				 | 
				 | 
				            bool comment = false; // Indicates whether the current line is part of a multiline comment
 | 
				 | 
				 | 
				            bool comment = false; // Indicates whether the current line is part of a multiline comment
 | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            try { | 
			
		
		
	
		
			
				 | 
				 | 
				                while (std::getline(file, line)) { | 
				 | 
				 | 
				                while (std::getline(file, line)) { | 
			
		
		
	
		
			
				 | 
				 | 
				                    ++lineNo; | 
				 | 
				 | 
				                    ++lineNo; | 
			
		
		
	
		
			
				 | 
				 | 
				                    // First consider comments
 | 
				 | 
				 | 
				                    // First consider comments
 | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -152,7 +152,9 @@ namespace storm { | 
			
		
		
	
		
			
				 | 
				 | 
				                        STORM_LOG_THROW(success, storm::exceptions::FileIoException, "Error while adding element '" << name << "' in line " << lineNo << "."); | 
				 | 
				 | 
				                        STORM_LOG_THROW(success, storm::exceptions::FileIoException, "Error while adding element '" << name << "' in line " << lineNo << "."); | 
			
		
		
	
		
			
				 | 
				 | 
				                    } | 
				 | 
				 | 
				                    } | 
			
		
		
	
		
			
				 | 
				 | 
				                } | 
				 | 
				 | 
				                } | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            } catch (storm::exceptions::BaseException const& exception) { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                STORM_LOG_THROW(false, storm::exceptions::FileIoException, "A parsing exception occurred in line " << lineNo << ": " << exception.what()); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            } | 
			
		
		
	
		
			
				 | 
				 | 
				            if (!builder.setTopLevel(toplevelId)) { | 
				 | 
				 | 
				            if (!builder.setTopLevel(toplevelId)) { | 
			
		
		
	
		
			
				 | 
				 | 
				                STORM_LOG_THROW(false, storm::exceptions::FileIoException, "Top level id '" << toplevelId << "' unknown."); | 
				 | 
				 | 
				                STORM_LOG_THROW(false, storm::exceptions::FileIoException, "Top level id '" << toplevelId << "' unknown."); | 
			
		
		
	
		
			
				 | 
				 | 
				            } | 
				 | 
				 | 
				            } | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |