Skip to content

Commit 48a676c

Browse files
ordinarymathmn200
authored andcommitted
Fix more grammars
1 parent e64fb78 commit 48a676c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/datatype/mutrec/ConsThms.sml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ open HolKernel Parse basicHol90Lib;
1818
type thm = Thm.thm;
1919

2020
val ambient_grammars = Parse.current_grammars();
21-
val _ = Parse.temp_set_grammars boolTheory.bool_grammars
21+
val _ = Parse.temp_set_grammars $ valOf $ grammarDB {thyname="bool"}
2222

2323
fun decompose (tm, args_so_far) =
2424
if is_comb tm then

src/datatype/mutrec/Recftn.sml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ type thm = Thm.thm;
8383

8484

8585
val ambient_grammars = Parse.current_grammars();
86-
val _ = Parse.temp_set_grammars boolTheory.bool_grammars
86+
val _ = Parse.temp_set_grammars $ valOf $ grammarDB {thyname="bool"}
8787

8888

8989
(* define_mutual_functions takes the term def (one such as the one above)

src/monad/more_monads/state_monadLib.sml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ open state_transformerTheory
77
structure Parse = struct
88
open Parse
99
val (Type, Term) =
10-
parse_from_grammars state_transformerTheory.state_transformer_grammars
10+
parse_from_grammars $ valOf $ grammarDB {thyname="state_transformer"}
1111
end
1212
open Parse
1313

0 commit comments

Comments
 (0)