From c2b11f0ac038e532b53d07a810d02332f613a413 Mon Sep 17 00:00:00 2001 From: Brian Campbell Date: Mon, 16 Oct 2023 11:01:01 +0100 Subject: [PATCH] Allow 0c hex format in the SMT parser --- isla-lib/src/smt_parser.lalrpop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isla-lib/src/smt_parser.lalrpop b/isla-lib/src/smt_parser.lalrpop index be28a260..4fd3ff7b 100644 --- a/isla-lib/src/smt_parser.lalrpop +++ b/isla-lib/src/smt_parser.lalrpop @@ -112,7 +112,7 @@ pub Exp: Exp> = { Exp1: Exp> = { =>? Ok(Exp::Var(loc)), - =>? Ok(smt_bits_from_str(bv).ok_or_else(|| format!("Bad bitvector literal {}", bv))?), + =>? Ok(smt_bits_from_str(bv).ok_or_else(|| format!("Bad bitvector literal {}", bv))?), "true" => Exp::Bool(true), "false" => Exp::Bool(false), "not" => Exp::Not(Box::new(e)),