Skip to content

Commit b30ebdc

Browse files
committed
Merge remote-tracking branch 'origin/master' into remove-cheats
2 parents 67cff31 + 4adad68 commit b30ebdc

File tree

7 files changed

+13
-1
lines changed

7 files changed

+13
-1
lines changed

basis/pure/mlvectorSyntax.sml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ struct
66

77
open HolKernel boolLib mlvectorTheory;
88

9+
val ERR = mk_HOL_ERR "mlvectorSyntax";
10+
911
fun mk_vector_type ty = Type.mk_thy_type{Thy="regexp_compiler",Tyop="vector",Args=[ty]};
1012

1113
fun dest_vector_type ty =

characteristic/cfNormaliseLib.sml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ structure cfNormaliseLib :> cfNormaliseLib = struct
33
open preamble
44
open astSyntax
55

6+
val ERR = mk_HOL_ERR "cfNormaliseLib";
7+
68
(* Normalisation pass.
79
810
[normalise_prog] (and friends) implement a preprocessing pass on the

characteristic/cfTacticsBaseLib.sml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ open preamble
55
open set_sepTheory helperLib ConseqConv
66
open quantHeuristicsTools
77

8+
val ERR = mk_HOL_ERR "cfTacticsBaseLib";
9+
810
structure Parse =
911
struct
1012
open Parse

characteristic/cfTacticsLib.sml

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ open set_sepTheory cfAppTheory cfHeapsTheory cfTheory cfTacticsTheory
77
open helperLib cfHeapsBaseLib cfHeapsLib cfTacticsBaseLib evarsConseqConvLib
88
open cfAppLib cfSyntax semanticPrimitivesSyntax
99

10+
val ERR = mk_HOL_ERR "cfTacticsLib";
11+
1012
fun constant_printer s _ _ _ (ppfns:term_pp_types.ppstream_funs) _ _ _ =
1113
let
1214
open Portable term_pp_types smpp

characteristic/evarsConseqConvLib.sml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ struct
44
open preamble
55
open ConseqConv ConseqConvTheory quantHeuristicsTools
66

7+
val ERR = mk_HOL_ERR "evarsConseqConvLib";
8+
79
type evars = term list
810
type term_with_evars = {term: term, evars: evars}
911
type evars_instantiation = {instantiation: (term, term) subst,

compiler/backend/semantics/patSemScript.sml

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ val check =
453453
do_app_cases |> concl |> find_terms TypeBase.is_case
454454
|> List.map (#1 o strip_comb)
455455
|> List.all (fn tm => List.exists (same_const tm) [optionSyntax.option_case_tm, eq_result_CASE_tm])
456-
val () = if check then () else raise(ERR"patSem""do_app_cases failed")
456+
val () = if check then () else raise(mk_HOL_ERR"patSemTheory""do_app_cases""check failed")
457457

458458
val do_app_cases_none = save_thm("do_app_cases_none",
459459
``patSem$do_app s op vs = NONE`` |>

translator/ml_translatorLib.sml

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ open integerTheory intLib ml_optimiseTheory ml_pmatchTheory;
1515
open mlstringLib mlstringSyntax mlvectorSyntax packLib ml_progTheory ml_progLib
1616
local open integer_wordSyntax in end
1717

18+
val ERR = mk_HOL_ERR "ml_translatorLib";
19+
1820
val RW = REWRITE_RULE;
1921
val RW1 = ONCE_REWRITE_RULE;
2022

0 commit comments

Comments
 (0)