mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Merge branch 'master' of https://github.com/Z3Prover/z3
This commit is contained in:
		
						commit
						ac2e8f8b57
					
				
					 3 changed files with 11 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -36,6 +36,7 @@ expr_ref sym_expr::accept(expr* e) {
 | 
			
		|||
        break;
 | 
			
		||||
    }
 | 
			
		||||
    case t_char:
 | 
			
		||||
        SASSERT(m.get_sort(e) == m.get_sort(m_t));
 | 
			
		||||
        result = m.mk_eq(e, m_t);
 | 
			
		||||
        break;
 | 
			
		||||
    case t_range: {
 | 
			
		||||
| 
						 | 
				
			
			@ -792,8 +793,8 @@ bool seq_rewriter::is_sequence(expr* e, expr_ref_vector& seq) {
 | 
			
		|||
        else if (m_util.str.is_empty(e)) {
 | 
			
		||||
            continue;
 | 
			
		||||
        }
 | 
			
		||||
        else if (m_util.str.is_unit(e)) {
 | 
			
		||||
            seq.push_back(e);
 | 
			
		||||
        else if (m_util.str.is_unit(e, e1)) {
 | 
			
		||||
            seq.push_back(e1);
 | 
			
		||||
        }
 | 
			
		||||
        else if (m_util.str.is_concat(e, e1, e2)) {
 | 
			
		||||
            todo.push_back(e1);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,6 +31,10 @@ static bool is_hex_digit(char ch, unsigned& d) {
 | 
			
		|||
        d = 10 + ch - 'A';
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
    if ('a' <= ch && ch <= 'f') {
 | 
			
		||||
        d = 10 + ch - 'a';
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -85,6 +89,7 @@ static bool is_escape_char(char const *& s, unsigned& result) {
 | 
			
		|||
        s += 2;
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
zstring::zstring(encoding enc): m_encoding(enc) {}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -847,6 +847,9 @@ namespace smt {
 | 
			
		|||
                setup_AUFLIA(false);
 | 
			
		||||
            setup_datatypes();
 | 
			
		||||
            setup_bv();
 | 
			
		||||
            setup_dl();
 | 
			
		||||
            setup_seq();
 | 
			
		||||
            setup_card();
 | 
			
		||||
            setup_fpa();
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue