bf gen: Fix: Check UMM types is known before generating HOL proofs.
This commit is contained in:
parent
9e6750e8a4
commit
701b3bfff4
1 changed files with 3 additions and 0 deletions
|
|
@ -2505,6 +2505,9 @@ if __name__ == '__main__':
|
|||
parser.error('Output file name must be given when generating HOL definitions or proofs')
|
||||
out_file.filename = os.path.abspath(options.thy_output_path)
|
||||
|
||||
if options.hol_proofs and not options.umm_types_file:
|
||||
parser.error('--umm_types must be specified when generating HOL proofs')
|
||||
|
||||
del parser
|
||||
|
||||
options.output = out_file
|
||||
|
|
|
|||
Loading…
Reference in a new issue