Skip to content

Commit

Permalink
chore: fix update_alives_statements.py (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasgrosser authored May 23, 2024
1 parent 62d21fe commit e74364d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SSA/Projects/InstCombine/update_alive_statements.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def getStatement(preamble: List[str], id : int, proof: List[str]) -> str:
return ""

error = x.stdout.decode("utf-8")
msg = re.sub(".*AliveTest_[0-9]+.lean:[0-9]+:[0-9]+-[0-9]+:[0-9]+: ", "", error, flags=re.DOTALL)
msg = re.sub(".*AliveTest_[0-9]+.lean:[0-9]+:[0-9]+: ", "", error, flags=re.DOTALL)
msg = re.sub("\nerror: Lean.*", "", msg, flags=re.DOTALL)
msg = " " + re.sub("\n", "\n ", msg, flags=re.DOTALL)

Expand Down

0 comments on commit e74364d

Please sign in to comment.