aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Laporte2019-08-05 12:58:25 +0000
committerVincent Laporte2019-08-05 12:58:25 +0000
commit76a11fb070cc2cf3c1ebce32cd692fa64c31767f (patch)
tree9f1ab58ef4c4f20e1c3786cae2cde097f9f7e1da
parentfcdfbddbd75218a6d67c965ce363fb2a8984e224 (diff)
parentc00e1184f361c506bb69f659711a0f251cc35471 (diff)
Merge PR #10585: [coqdoc] Simplify regex for identifiers in comments
Reviewed-by: gares Reviewed-by: vbgl
-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 0685f979c8..a44ddf7467 100644
--- a/tools/coqdoc/cpretty.mll
+++ b/tools/coqdoc/cpretty.mll
@@ -940,7 +940,7 @@ and escaped_coq = parse
{ (* likely to be a syntax error: we escape *) backtrack lexbuf }
| eof
{ Tokens.flush_sublexer () }
- | (identifier '.')* identifier
+ | identifier
{ Tokens.flush_sublexer();
Output.ident (lexeme lexbuf) None;
escaped_coq lexbuf }