From 9d3cfe11e7e75f81bdc76f715ef5e7f600e13470 Mon Sep 17 00:00:00 2001 From: Davis King Date: Wed, 7 Jul 2010 01:32:15 +0000 Subject: [PATCH] cleaned up print statements --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403724 --- docs/htmlify/to_xml.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/htmlify/to_xml.cpp b/docs/htmlify/to_xml.cpp index 875707052..159a3e07f 100644 --- a/docs/htmlify/to_xml.cpp +++ b/docs/htmlify/to_xml.cpp @@ -1268,7 +1268,8 @@ void generate_xml_markup( std::vector > 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_functions; std::vector tok_classes; @@ -1278,14 +1279,14 @@ void generate_xml_markup( ifstream fin(files[i].second.c_str()); if (!fin) { - cout << "Error opening file: " << files[i].second << endl; + cerr << "Error opening file: " << files[i].second << endl; return; } process_file(fin, files[i].first, tok_functions, tok_classes); } - cout << "\ntok_functions.size(): " << tok_functions.size() << endl; - cout << "tok_classes.size(): " << tok_classes.size() << endl; + cout << "\nNumber of functions found: " << tok_functions.size() << endl; + cout << "Number of classes found: " << tok_classes.size() << endl; cout << endl; //cout << tok_functions[0].comment << endl;