Skip to content

Commit

Permalink
Merge pull request #651 from vprover/michael-fix-smtlib-numerals
Browse files Browse the repository at this point in the history
allow defining numerals as non-number sorts in SMT-LIB
  • Loading branch information
MichaelRawson authored Feb 5, 2025
2 parents d2c8969 + 020739b commit 20d8009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Parse/SMTLIB2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2793,11 +2793,11 @@ SMTLIB2::ParseResult SMTLIB2::parseTermOrFormula(LExpr* body, bool isSort)
continue;
}

if (parseAsSpecConstant(id)) {
if (parseAsUserDefinedSymbol(id,exp,false/*isSort*/)) {
continue;
}

if (parseAsUserDefinedSymbol(id,exp,false/*isSort*/)) {
if (parseAsSpecConstant(id)) {
continue;
}

Expand Down

0 comments on commit 20d8009

Please sign in to comment.