Skip to content

Commit b009e42

Browse files
committedDec 15, 2022
Upgrade to Isabelle2022
1 parent 8f9699c commit b009e42

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎Optimizations/DSL/Canonicalization.thy

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ fun export_phases thy name =
119119
val path = Path.binding (
120120
Path.append directory filename,
121121
Position.none);
122-
val thy' = thy |> Generated_Files.add_files (path, content);
122+
val thy' = thy |> Generated_Files.add_files (path, (Bytes.string content));
123123

124124
val _ = Export.export thy' path [YXML.parse cleaned];
125125

@@ -131,7 +131,7 @@ fun export_phases thy name =
131131
val _ =
132132
Outer_Syntax.command \<^command_keyword>\<open>export_phases\<close>
133133
"export information about encoded optimizations"
134-
(Parse.text >>
134+
(Parse.path >>
135135
(fn name => Toplevel.theory (fn state => export_phases state name)))
136136
\<close>
137137

‎Snipping.thy

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fun wrapped_command (command: string) (name: string option) =
2525
in
2626
Document_Output.document_output
2727
{markdown = false,
28-
markup = fn _ => Latex.enclose_text "%\n" "\n" (Latex.string latex)}
28+
markup = fn _ => XML.enclose "%\n" "\n" (Latex.string latex)}
2929
(*(Pure_Syn.document_command {markdown = false} (NONE, doc))*)
3030
end
3131

0 commit comments

Comments
 (0)
Please sign in to comment.