diff options
| author | John Wiegley <johnw@newartisans.com> | 2007-05-07 10:25:15 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:39 -0400 |
| commit | a07e20c14e5ba3597a855276ad9a195343aee42f (patch) | |
| tree | 2148a9a8e3038993cca6865a025a582e95f9caac /src/main.cc | |
| parent | 8aada79971b772fda92131053fa03021cfbc625a (diff) | |
| download | ledger-a07e20c14e5ba3597a855276ad9a195343aee42f.tar.gz ledger-a07e20c14e5ba3597a855276ad9a195343aee42f.tar.bz2 ledger-a07e20c14e5ba3597a855276ad9a195343aee42f.zip | |
Changed write methods to print.
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 |
