1444 std::cerr <<
"Failed to load database" << std::endl;
1452 if (in.eof())
return;
1453 if (targets.empty())
goto error;
1454 DEBUG <<
"reading dependencies of target " << targets.front() << std::endl;
1455 if (in.get() !=
':')
goto error;
1457 dep->targets = targets;
1460 dep->deps.insert(deps.begin(), deps.end());
1461 for (string_list::const_iterator i = targets.begin(),
1462 i_end = targets.end(); i != i_end; ++i)
static void skip_empty(std::istream &in)
static bool read_words(input_generator &in, string_list &res)
std::list< std::string > string_list
static dependency_map dependencies