aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tools/coqdoc/index.mll2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/coqdoc/index.mll b/tools/coqdoc/index.mll
index a83ef7105..ae19433f9 100644
--- a/tools/coqdoc/index.mll
+++ b/tools/coqdoc/index.mll
@@ -197,7 +197,7 @@ rule traverse = parse
| "Variable" 's'? space
{ current_type := Variable; index_idents lexbuf; traverse lexbuf }
***i*)
- | "Require" (space+ "Export")? space+ ident
+ | "Require" (space+ ("Export"|"Import"))? space+ ident
{ ref_module (lexeme_start lexbuf) (lexeme lexbuf); traverse lexbuf }
| begin_hide
{ skip_hide lexbuf; traverse lexbuf }