summaryrefslogtreecommitdiff
path: root/src/format.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.cc')
-rw-r--r--src/format.cc3
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);