aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/coqdoc
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-09-22 16:01:14 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-09-22 16:01:14 +0000
commitd3af0bfac87e977dbefddda8408a9367d536bc52 (patch)
tree891cd700af8f71da6c7e53e70833415419752523 /tools/coqdoc
parent14dfd1bdc766f29de07dcf199eb2ee9b2e8ca382 (diff)
Fixing bug #2606 (bad coqdoc processing of coq escaped in comments).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14482 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tools/coqdoc')
-rw-r--r--tools/coqdoc/cpretty.mll4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/coqdoc/cpretty.mll b/tools/coqdoc/cpretty.mll
index d11b12477..65a232b4a 100644
--- a/tools/coqdoc/cpretty.mll
+++ b/tools/coqdoc/cpretty.mll
@@ -917,7 +917,9 @@ and escaped_coq = parse
| eof
{ Tokens.flush_sublexer () }
| (identifier '.')* identifier
- { Output.ident (lexeme lexbuf) (lexeme_start lexbuf); escaped_coq lexbuf }
+ { Tokens.flush_sublexer();
+ Output.ident (lexeme lexbuf) (lexeme_start lexbuf);
+ escaped_coq lexbuf }
| space_nl*
{ let str = lexeme lexbuf in
Tokens.flush_sublexer();