diff options
| author | Lasse Blaauwbroek | 2020-03-17 22:59:23 +0100 |
|---|---|---|
| committer | Lasse Blaauwbroek | 2020-03-21 14:31:20 +0100 |
| commit | 3e98d9bd37d629f90e0a5702f6deb5b835815b5a (patch) | |
| tree | 8f5547edeba39bd3a47a9dfea72038da41c90ec3 /toplevel/ccompile.mli | |
| parent | 4d025d4161599ea20cd1dbf489a6412f019a7a7e (diff) | |
Reorder the load/require cmd-options and set/unset cmd-options
Make sure that all initial load vernaculars that were specified on the command line are executed before processing the options set through -set on the command line.
The reason for this is that the load vernacular options can load plugins that define new Goptions. If these plugins are not loaded before the -set flags are processed,
then Goptions will emit a warning that the options of that plugin don't exist and ignore the flag.
Diffstat (limited to 'toplevel/ccompile.mli')
| -rw-r--r-- | toplevel/ccompile.mli | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toplevel/ccompile.mli b/toplevel/ccompile.mli index 8c154488d0..eb66dbaafc 100644 --- a/toplevel/ccompile.mli +++ b/toplevel/ccompile.mli @@ -17,3 +17,5 @@ val compile_files : Coqargs.t -> Coqcargs.t -> unit (** [do_vio opts] process [.vio] files in [opts] *) val do_vio : Coqargs.t -> Coqcargs.t -> unit + +val set_options : (Goptions.option_name * Coqargs.option_command) list -> unit |
