mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	add redirect for warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									fbf9e3004f
								
							
						
					
					
						commit
						2f8b13368d
					
				
					 4 changed files with 23 additions and 0 deletions
				
			
		|  | @ -242,6 +242,7 @@ extern "C" { | |||
|         std::istringstream is(s); | ||||
|         ctx->set_regular_stream(ous); | ||||
|         ctx->set_diagnostic_stream(ous); | ||||
|         cmd_context::scoped_redirect _redirect(*ctx); | ||||
|         try { | ||||
|             if (!parse_smt2_commands(*ctx.get(), is)) { | ||||
|                 SET_ERROR_CODE(Z3_PARSER_ERROR, ous.str()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue