From 60cd664eb37d017289d468d7e4f826c229cba7f6 Mon Sep 17 00:00:00 2001 From: letouzey Date: Sat, 14 Mar 2009 11:29:38 +0000 Subject: Coqdep: better handling of Declare ML Module (via .mllib) + many cleanups git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11976 85f007b7-540e-0410-9357-904b9bb8a0f7 --- tools/coqdep_lexer.mll | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/coqdep_lexer.mll') diff --git a/tools/coqdep_lexer.mll b/tools/coqdep_lexer.mll index 67dea5a3c..6d6a804da 100755 --- a/tools/coqdep_lexer.mll +++ b/tools/coqdep_lexer.mll @@ -225,5 +225,11 @@ and caml_opened_file = parse | eof {raise Fin_fichier } | _ { caml_action lexbuf } +and mllib_list = parse + | coq_ident { let s = String.uncapitalize (Lexing.lexeme lexbuf) + in s :: mllib_list lexbuf } + | space+ { mllib_list lexbuf } + | eof { [] } + -- cgit v1.2.3