summaryrefslogtreecommitdiff
path: root/compiler/Driver.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--compiler/Driver.ml5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/Driver.ml b/compiler/Driver.ml
index d8418278..2ff9e295 100644
--- a/compiler/Driver.ml
+++ b/compiler/Driver.ml
@@ -158,6 +158,11 @@ let () =
if !use_fuel then (
log#error "The Lean backend doesn't support the -use-fuel option";
fail ())
+ | HOL4 ->
+ (* We don't support fuel for the HOL4 backend *)
+ if !use_fuel then (
+ log#error "The HOL4 backend doesn't support the -use-fuel option";
+ fail ())
in
(* Retrieve and check the filename *)