Skip to content

Commit cd177fd

Browse files
committed
Adaptations for Isabelle2024
1 parent f2636ad commit cd177fd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Channel_Type.ML

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,6 @@ end;
216216
let open Parse; open Parse_Spec; open Scan in
217217
Outer_Syntax.command @{command_keyword chantype} "define a channel datatype"
218218
((( BNF_Util.parse_type_args_named_constrained -- name) --
219-
(@{keyword "="} |-- repeat1 (name -- ($$$ "::" |-- !!! typ))))
219+
(@{keyword "="} |-- repeat1 (name -- ($$$ "::" |-- Parse.!!! typ))))
220220
>> (fn x => Toplevel.theory (Channel_Type.compile_chantype x)))
221221
end;

Dataspace.ML

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ let open Parse; open Parse_Spec; open Scan in
7979
Outer_Syntax.command @{command_keyword dataspace} "define reactive contexts"
8080
((name --
8181
((@{keyword "="} |-- repeat (Parse.name --| @{keyword "+"}))
82-
-- optional (@{keyword "constants"} |-- repeat1 (name -- ($$$ "::" |-- !!! typ))) []
83-
-- optional (@{keyword "assumes"} |-- !!! (and_list1 (opt_thm_name ":" -- repeat1 propp))) []
84-
-- optional (@{keyword "variables"} |-- repeat1 (name -- ($$$ "::" |-- !!! typ))) []
85-
-- optional (@{keyword "channels"} |-- repeat1 (name -- ($$$ "::" |-- !!! typ))) [])
82+
-- optional (@{keyword "constants"} |-- repeat1 (name -- ($$$ "::" |-- Parse.!!! typ))) []
83+
-- optional (@{keyword "assumes"} |-- Parse.!!! (and_list1 (opt_thm_name ":" -- repeat1 propp))) []
84+
-- optional (@{keyword "variables"} |-- repeat1 (name -- ($$$ "::" |-- Parse.!!! typ))) []
85+
-- optional (@{keyword "channels"} |-- repeat1 (name -- ($$$ "::" |-- Parse.!!! typ))) [])
8686
>> (fn (nm, ((((exts, cds), assms), vds), chds)) => Toplevel.theory (Dataspace.dataspace_cmd nm exts cds assms vds chds))))
8787
end;

0 commit comments

Comments
 (0)