diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-29 02:24:25 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-29 02:24:25 -0400 |
commit | 8b75b5cbfbb53e0bfa51c63dc96ade69617cd1db (patch) | |
tree | c10c7ea058d0491988078093ad27bac2f9ba240c /src/format.cc | |
parent | 5b388af6264b1bff5ff143db4120e4776d06c90c (diff) | |
download | fork-ledger-8b75b5cbfbb53e0bfa51c63dc96ade69617cd1db.tar.gz fork-ledger-8b75b5cbfbb53e0bfa51c63dc96ade69617cd1db.tar.bz2 fork-ledger-8b75b5cbfbb53e0bfa51c63dc96ade69617cd1db.zip |
Revised the way that parsing flags get passed around.
Diffstat (limited to 'src/format.cc')
-rw-r--r-- | src/format.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/format.cc b/src/format.cc index a4596761..6ead3ac8 100644 --- a/src/format.cc +++ b/src/format.cc @@ -31,7 +31,6 @@ #include "format.h" #include "account.h" -#include "parser.h" namespace ledger { @@ -213,7 +212,7 @@ format_t::element_t * format_t::parse_elements(const string& fmt) std::istringstream str(p); current->type = element_t::EXPR; string temp(p); - current->expr.parse(str, EXPR_PARSE_SINGLE, &temp); + current->expr.parse(str, expr_t::PARSE_SINGLE, &temp); if (str.eof()) { current->expr.set_text(p); p += std::strlen(p); |