forked from emina/rosette
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing of SMT-LIB-compliant models
SMT-LIB says that models should not start with a 'model symbol, but most SMT solvers have been doing so anyway until recently. So let's just support both variants for the widest compatibility. We had already fixed this specifically for Boolector, but we need to do it everywhere, so this change makes a small refactoring to allow all SMT solvers to share the same model parsing code, while still preserving Boolector-specific fixups to the model after parsing.
- Loading branch information
1 parent
1017855
commit c2975b9
Showing
2 changed files
with
36 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters