Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsing for .smt2 files #219

Merged
merged 5 commits into from
Oct 4, 2024
Merged

Fix parsing for .smt2 files #219

merged 5 commits into from
Oct 4, 2024

Conversation

joaomhmpereira
Copy link
Member

No description provided.

@joaomhmpereira joaomhmpereira linked an issue Sep 28, 2024 that may be closed by this pull request
@@ -58,6 +74,23 @@ let test debug solver prover_mode print_statistics files =
match result with Error (`Msg e) -> failwith e | Ok state -> state
and test_files files = List.fold_left test_path None files in
let state = test_files files in
let write_exception_log () =
let oc = open_out "exceptions.log" in
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let oc = open_out "exceptions.log" in
Out_channel.with_open_text "exceptions.log" @@ fun oc ->

And you can remove the close_out at the end

@filipeom filipeom marked this pull request as ready for review October 4, 2024 13:43
@filipeom filipeom enabled auto-merge (rebase) October 4, 2024 13:43
@filipeom filipeom merged commit cb621ca into main Oct 4, 2024
8 checks passed
@filipeom filipeom deleted the fix-parsing branch October 4, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix smtcomp parsing errors
2 participants