mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	don't apply tactics in parse mode
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									72e7a8a481
								
							
						
					
					
						commit
						839f87a10c
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -296,9 +296,10 @@ public:
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void execute(cmd_context & ctx) override {
 | 
					    void execute(cmd_context & ctx) override {
 | 
				
			||||||
        if (!m_tactic) {
 | 
					        if (!m_tactic) 
 | 
				
			||||||
            throw cmd_exception("apply needs a tactic argument");
 | 
					            throw cmd_exception("apply needs a tactic argument");
 | 
				
			||||||
        }
 | 
					        if (ctx.ignore_check())
 | 
				
			||||||
 | 
					            return;
 | 
				
			||||||
        params_ref p = ctx.params().merge_default_params(ps());
 | 
					        params_ref p = ctx.params().merge_default_params(ps());
 | 
				
			||||||
        tactic_ref tref = using_params(sexpr2tactic(ctx, m_tactic), p);
 | 
					        tactic_ref tref = using_params(sexpr2tactic(ctx, m_tactic), p);
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue