From d3af0bfac87e977dbefddda8408a9367d536bc52 Mon Sep 17 00:00:00 2001 From: herbelin Date: Thu, 22 Sep 2011 16:01:14 +0000 Subject: 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 --- tools/coqdoc/cpretty.mll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/coqdoc/cpretty.mll') 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(); -- cgit v1.2.3