1420 std::cerr <<
"Failed to load database" << std::endl;
1428 if (in.eof())
return;
1429 if (targets.empty())
goto error;
1430 DEBUG <<
"reading dependencies of target " << targets.front() << std::endl;
1431 if (in.get() !=
':')
goto error;
1436 dep->
deps.insert(deps.begin(), deps.end());
1437 for (string_list::const_iterator i = targets.begin(),
1438 i_end = targets.end(); i != i_end; ++i)
std::list< std::string > string_list
static bool read_words(input_generator &in, string_list &res)
static void skip_empty(std::istream &in)
static dependency_map dependencies