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

Pretty-print SMT queries #3679

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/fstar/FStarC.CheckedFiles.fst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let dbg = Debug.get_toggle "CheckedFiles"
* detect when loading the cache that the version number is same
* It needs to be kept in sync with Prims.fst
*)
let cache_version_number = 72
let cache_version_number = 73

(*
* Abbreviation for what we store in the checked files (stages as described below)
Expand Down
4 changes: 2 additions & 2 deletions src/smtencoding/FStarC.SMTEncoding.Encode.fst
Original file line number Diff line number Diff line change
Expand Up @@ -1506,12 +1506,12 @@ let rec encode_sigelt (env:env_t) (se:sigelt) : (decls_t & env_t) =
begin
if !dbg_SMTEncoding then
BU.print1 "Skipped encoding of %s\n" nm;
[Caption (BU.format1 "<Skipped %s/>" nm)] |> mk_decls_trivial
[Caption (BU.format1 "<Skipped %s/>" nm); EmptyLine] |> mk_decls_trivial
end

| _ -> ([Caption (BU.format1 "<Start encoding %s>" nm)] |> mk_decls_trivial)
@g
@([Caption (BU.format1 "</end encoding %s>" nm)] |> mk_decls_trivial) in
@([Caption (BU.format1 "</end encoding %s>" nm); EmptyLine] |> mk_decls_trivial) in
g, env

and encode_sigelt' (env:env_t) (se:sigelt) : (decls_t & env_t) =
Expand Down
Loading
Loading