diff options
| author | Lysxia | 2019-07-27 00:15:55 -0400 |
|---|---|---|
| committer | Lysxia | 2019-07-27 00:17:30 -0400 |
| commit | c00e1184f361c506bb69f659711a0f251cc35471 (patch) | |
| tree | 7bda524067437c56b40febe91a081f6e2bb656a9 /tools | |
| parent | 2e37b4b30d0779dc960db80189e51ecd69f7e45a (diff) | |
[coqdoc] Simplify regex for identifiers in comments
Diffstat (limited to 'tools')
| -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 } |
