diff options
author | 2010-03-12 12:56:19 +0000 | |
---|---|---|
committer | 2010-03-12 12:56:19 +0000 | |
commit | 2bdad21e991cc6fe720635e561eb2ae9728d1986 (patch) | |
tree | 87fa0291efafabc4c8208196a64d534f3a13b17d /doc/coq2html.mll | |
parent | d7f6ef3d96c503b8cb4a04aa8fc120ea5b77ea4a (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/coq2html.mll')
-rw-r--r-- | doc/coq2html.mll | 4 |
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 |