Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Nov 9, 2024
1 parent e3efb4b commit e92408c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/asm_parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ InstructionOrConstraintsSet parse_instruction(const std::string& line,
if (regex_match(text, m, regex(REQUIRE))) {
std::string constraints = m[1];
std::set<std::string> constraint_set;
std::vector<crab::interval_t> numeric_ranges;
std::regex re(R"(\s*,\s*)");
std::sregex_token_iterator first{constraints.begin(), constraints.end(), re, -1}, last;
for (; first != last; ++first) {
Expand Down
3 changes: 2 additions & 1 deletion test-data/add.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ code:
r2 = 2
require [r2.type=number, r2.svalue=2, r2.uvalue=r2.svalue]
r1 += r2
# Using 2 instead of 3 to validate that verification fails at an intermediate step.
require [r1.type=number, r1.svalue=2, r1.uvalue=r1.svalue]
r0 = r1
Expand All @@ -228,4 +229,4 @@ post:
- r2.uvalue=2

messages:
- "3: Concrete invariants do not match abstract invariants"
- "4: Concrete invariants do not match abstract invariants"

0 comments on commit e92408c

Please sign in to comment.