aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/coqdoc/cpretty.mll2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/coqdoc/cpretty.mll b/tools/coqdoc/cpretty.mll
index 1834a7d33..95ad1c113 100644
--- a/tools/coqdoc/cpretty.mll
+++ b/tools/coqdoc/cpretty.mll
@@ -942,7 +942,7 @@ and comment = parse
else (brackets := 1; Output.start_inline_coq ();
escaped_coq lexbuf; Output.end_inline_coq ());
comment lexbuf }
- | "[[" {
+ | "[[" nl {
if !Cdglobals.parse_comments then
if !Cdglobals.plain_comments then (Output.char '['; Output.char '[')
else (formatted := true;