Use a patch_AddAssertion function instead of extern assertions

This commit is contained in:
Rangi42
2025-07-21 17:49:41 -04:00
parent a0e23ee911
commit 0cd60ea1e6
4 changed files with 23 additions and 10 deletions

View File

@@ -459,6 +459,10 @@ static int32_t computeRPNExpr(Patch const &patch, std::vector<Symbol> const &fil
return popRPN(patch);
}
Assertion &patch_AddAssertion() {
return assertions.emplace_front();
}
void patch_CheckAssertions() {
verbosePrint("Checking assertions...\n");