diff options
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cc b/src/main.cc index 6908be3d..9147d4ee 100644 --- a/src/main.cc +++ b/src/main.cc @@ -151,7 +151,7 @@ static int read_and_report(report_t * report, int argc, char * argv[], expr.dump(std::cout); std::cout << std::endl; std::cout << "Value expression parsed was:" << std::endl; - expr.write(std::cout); + expr.print(std::cout); std::cout << std::endl << std::endl; std::cout << "Result of calculation: "; } @@ -250,7 +250,7 @@ static int read_and_report(report_t * report, int argc, char * argv[], expr.dump(*out); *out << std::endl; *out << "Value expression parsed was:" << std::endl; - expr.write(*out); + expr.print(*out); *out << std::endl << std::endl; *out << "Result of calculation: "; } @@ -263,7 +263,7 @@ static int read_and_report(report_t * report, int argc, char * argv[], else if (verb == "xpath") { std::cout << "XPath parsed:" << std::endl; xml::xpath_t xpath(*arg); - xpath.write(*out); + xpath.print(*out); *out << std::endl; #if 0 |