diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-07-26 14:32:59 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-07-26 14:32:59 +0200 |
commit | a0214d53a9a7fa1dc47375c7f048a15bed5dc523 (patch) | |
tree | ea0d69995fb8f4fc5ee9865e24afd513e4222dae /plugins/extraction/g_extraction.ml4 | |
parent | c50f5c4655e29989fb4b15c7e391bfb38785b251 (diff) | |
parent | 21327e39ef6c6e04569bf8f138d242819139964d (diff) |
Merge PR #859: Extraction TestCompile
Diffstat (limited to 'plugins/extraction/g_extraction.ml4')
-rw-r--r-- | plugins/extraction/g_extraction.ml4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/extraction/g_extraction.ml4 b/plugins/extraction/g_extraction.ml4 index 4372ea557..dba1e3444 100644 --- a/plugins/extraction/g_extraction.ml4 +++ b/plugins/extraction/g_extraction.ml4 @@ -65,6 +65,10 @@ VERNAC COMMAND EXTEND Extraction CLASSIFIED AS QUERY (* Monolithic extraction to a file *) | [ "Extraction" string(f) ne_global_list(l) ] -> [ full_extraction (Some f) l ] + +(* Extraction to a temporary file and OCaml compilation *) +| [ "Extraction" "TestCompile" ne_global_list(l) ] + -> [ extract_and_compile l ] END VERNAC COMMAND EXTEND SeparateExtraction CLASSIFIED AS QUERY |