summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-03-12 12:56:19 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-03-12 12:56:19 +0000
commit2bdad21e991cc6fe720635e561eb2ae9728d1986 (patch)
tree87fa0291efafabc4c8208196a64d534f3a13b17d /doc
parentd7f6ef3d96c503b8cb4a04aa8fc120ea5b77ea4a (diff)
TeX and HTML escapes
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1289 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'doc')
-rw-r--r--doc/coq2html.mll4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/coq2html.mll b/doc/coq2html.mll
index da2e602..dd7d3a9 100644
--- a/doc/coq2html.mll
+++ b/doc/coq2html.mll
@@ -372,6 +372,10 @@ and doc = parse
{ character '\n'; doc_bol lexbuf }
| "["
{ start_bracket(); bracket lexbuf; end_bracket(); doc lexbuf }
+ | "$" [^ '\n' '$']* "$"
+ { doc lexbuf }
+ | "#" ([^ '\n' '#']* as html) "#"
+ { output_string !oc html; doc lexbuf }
| eof
{ () }
| _ as c