diff options
| author | Pierre Letouzey | 2017-06-15 10:13:37 +0200 |
|---|---|---|
| committer | Pierre Letouzey | 2017-06-15 10:13:53 +0200 |
| commit | 48219205d121ea3093287ac1b887fc81067fac6a (patch) | |
| tree | 950c59fac8113d5097efe5b235ef042e504af61e | |
| parent | e1d68573015883301cb401861e10233f6442d9ec (diff) | |
coqdep: correct support of Local Declare ML Module
| -rw-r--r-- | tools/coqdep_lexer.mll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/coqdep_lexer.mll b/tools/coqdep_lexer.mll index c68c34bbbd..9224cdafe8 100644 --- a/tools/coqdep_lexer.mll +++ b/tools/coqdep_lexer.mll @@ -74,7 +74,9 @@ let dot = '.' ( space+ | eof) rule coq_action = parse | "Require" space+ { require_modifiers None lexbuf } - | "Local"? "Declare" space+ "ML" space+ "Module" space+ + | "Local" space+ "Declare" space+ "ML" space+ "Module" space+ + { modules [] lexbuf } + | "Declare" space+ "ML" space+ "Module" space+ { modules [] lexbuf } | "Load" space+ { load_file lexbuf } |
