This commit is contained in:
Burkhart Wolff 2019-03-23 11:23:27 +00:00
parent afb5b60f1b
commit 3c2bbdd830
2 changed files with 5 additions and 10 deletions

View File

@ -94,14 +94,9 @@ val _ =
end
\<close>
section\<open>Definition of the Command "C_file"\<close>
section\<open>The Command "C_file"\<close>
ML\<open>
(* Title: Pure/ML/ml_file.ML
Author: Makarius
Commands to load ML files.
*)
structure C_File =
struct
@ -124,7 +119,7 @@ val C : (theory -> Token.file list) ->
end;
\<close>
section \<open>Pure\<close>
section \<open>Reading and Writing C-Files\<close>
ML\<open>
local
@ -143,7 +138,7 @@ val _ =
in end
\<close>
section \<open>\<close>
section \<open>ML-Antiquotations for Debugging\<close>
ML\<open>
fun print_top make_string f _ (_, (value, pos1, pos2)) _ thy =

View File

@ -471,8 +471,8 @@ section \<open>Miscellaneous\<close>
C \<comment> \<open>Antiquotations acting on a parsed-subtree\<close> \<open>
# /**/ include <a\b\\c> // backslash rendered unescaped
f(){0 + 0;} /**/ // val _ : theory => 'a => theory
# /*@ context */ if if elif
#include
# /* context */ if if elif
#include <stdio.h>
if then else ;
# /* zzz */ elif /**/
#else\