aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLysxia2019-07-27 00:15:55 -0400
committerLysxia2019-07-27 00:17:30 -0400
commitc00e1184f361c506bb69f659711a0f251cc35471 (patch)
tree7bda524067437c56b40febe91a081f6e2bb656a9 /tools
parent2e37b4b30d0779dc960db80189e51ecd69f7e45a (diff)
[coqdoc] Simplify regex for identifiers in comments
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 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 }