mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	Enabled filenames in error messages during inclusion of files.
This commit is contained in:
		
							parent
							
								
									090a331d79
								
							
						
					
					
						commit
						e472a8d4cf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -34,7 +34,7 @@ public:
 | 
			
		|||
        std::ifstream is(m_filename);
 | 
			
		||||
        if (is.bad() || is.fail())
 | 
			
		||||
            throw cmd_exception(std::string("failed to open file '") + m_filename + "'");
 | 
			
		||||
        parse_smt2_commands(ctx, is, false);
 | 
			
		||||
        parse_smt2_commands(ctx, is, false, params_ref(), m_filename);
 | 
			
		||||
        is.close();
 | 
			
		||||
    }
 | 
			
		||||
    virtual void prepare(cmd_context & ctx) { reset(ctx); }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue