Skip to content

Commit

Permalink
Placeholder for get_assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevendeo committed Sep 29, 2023
1 parent 91fa8f3 commit 1f3aa24
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/bin/common/solving_loop.ml
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ let main () =
| _ -> Printer.print_wrn "unsupported option %s" name
in

let handle_get_assignment _ =
failwith "TODO: handle_get_assignment"
in

let handle_stmt :
FE.used_context -> State.t ->
_ D_loop.Typer_Pipe.stmt -> State.t =
Expand Down Expand Up @@ -509,6 +513,16 @@ let main () =
st
end

| {contents = `Get_assignment; _} ->
if Options.get_produce_assignments () then
handle_get_assignment ()
else
begin
Printer.print_smtlib_err
"Produce assignments disabled; add (set-option :produce-assignment)";
st
end

| _ ->
(* TODO:
- Separate statements that should be ignored from unsupported
Expand Down

0 comments on commit 1f3aa24

Please sign in to comment.