mirror of https://github.com/davisking/dlib.git
cleaned up print statements
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403724
This commit is contained in:
parent
b2a394bcda
commit
9d3cfe11e7
|
@ -1268,7 +1268,8 @@ void generate_xml_markup(
|
||||||
std::vector<std::pair<string,string> > files;
|
std::vector<std::pair<string,string> > files;
|
||||||
obtain_list_of_files(parser, filter, search_depth, files);
|
obtain_list_of_files(parser, filter, search_depth, files);
|
||||||
|
|
||||||
cout << "files.size(): " << files.size() << endl;
|
cout << "Generating output.xml..." << endl;
|
||||||
|
cout << "Number of files: " << files.size() << endl;
|
||||||
|
|
||||||
std::vector<tok_function_record> tok_functions;
|
std::vector<tok_function_record> tok_functions;
|
||||||
std::vector<tok_class_record> tok_classes;
|
std::vector<tok_class_record> tok_classes;
|
||||||
|
@ -1278,14 +1279,14 @@ void generate_xml_markup(
|
||||||
ifstream fin(files[i].second.c_str());
|
ifstream fin(files[i].second.c_str());
|
||||||
if (!fin)
|
if (!fin)
|
||||||
{
|
{
|
||||||
cout << "Error opening file: " << files[i].second << endl;
|
cerr << "Error opening file: " << files[i].second << endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
process_file(fin, files[i].first, tok_functions, tok_classes);
|
process_file(fin, files[i].first, tok_functions, tok_classes);
|
||||||
}
|
}
|
||||||
|
|
||||||
cout << "\ntok_functions.size(): " << tok_functions.size() << endl;
|
cout << "\nNumber of functions found: " << tok_functions.size() << endl;
|
||||||
cout << "tok_classes.size(): " << tok_classes.size() << endl;
|
cout << "Number of classes found: " << tok_classes.size() << endl;
|
||||||
cout << endl;
|
cout << endl;
|
||||||
|
|
||||||
//cout << tok_functions[0].comment << endl;
|
//cout << tok_functions[0].comment << endl;
|
||||||
|
|
Loading…
Reference in New Issue