Skip to content

Commit

Permalink
Fixed #1
Browse files Browse the repository at this point in the history
  • Loading branch information
fakusb committed Oct 16, 2020
1 parent a17a095 commit 82394a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/smpl.mlg
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,10 @@ let rec is_opt_set opt opts =
else is_opt_set opt opts
| [] -> None

let classify_smpl_create _ = Vernacextend.VtSideff ([], Vernacextend.VtNow)
}

VERNAC COMMAND EXTEND SmplCreate CLASSIFIED AS SIDEFF
VERNAC COMMAND EXTEND SmplCreate CLASSIFIED BY {classify_smpl_create}
| [ "Smpl" "Create" preident(db) smpl_opts(opts) ] ->
{ smpl_create db { queue = [];
progress_default = bool_unopt (is_opt_set "progress" opts) false } }
Expand Down

0 comments on commit 82394a0

Please sign in to comment.