fix(frontends/lean/dependencies): warning message

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-07-31 19:59:05 -07:00
parent f39b2eb70f
commit 466dd11d1b

View file

@ -20,10 +20,12 @@ void display_deps(environment const & env, std::ostream & out, char const * fnam
scanner s(in, fname);
bool import_args = false;
while (true) {
scanner::token_kind t;
scanner::token_kind t = scanner::token_kind::Identifier;
try {
t = s.scan(env);
} catch (exception &) {}
} catch (exception &) {
continue;
}
if (t == scanner::token_kind::Eof) {
return;
} else if (t == scanner::token_kind::CommandKeyword && s.get_token_info().value() == import) {