diff options
| author | Vincent Laporte | 2019-08-05 12:58:25 +0000 |
|---|---|---|
| committer | Vincent Laporte | 2019-08-05 12:58:25 +0000 |
| commit | 76a11fb070cc2cf3c1ebce32cd692fa64c31767f (patch) | |
| tree | 9f1ab58ef4c4f20e1c3786cae2cde097f9f7e1da | |
| parent | fcdfbddbd75218a6d67c965ce363fb2a8984e224 (diff) | |
| parent | c00e1184f361c506bb69f659711a0f251cc35471 (diff) | |
Merge PR #10585: [coqdoc] Simplify regex for identifiers in comments
Reviewed-by: gares
Reviewed-by: vbgl
| -rw-r--r-- | tools/coqdoc/cpretty.mll | 2 |
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 } |
