summaryrefslogtreecommitdiff
path: root/amount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2003-10-01 07:11:57 +0000
committerJohn Wiegley <johnw@newartisans.com>2003-10-01 07:11:57 +0000
commita40813d896fd929e92969c06229844073d58565d (patch)
tree055605364d055b20604c8d1423bede9628c2fcce /amount.cc
parent68e6b8538e9c6fd39cb5d6ff80c65f3181763413 (diff)
downloadfork-ledger-a40813d896fd929e92969c06229844073d58565d.tar.gz
fork-ledger-a40813d896fd929e92969c06229844073d58565d.tar.bz2
fork-ledger-a40813d896fd929e92969c06229844073d58565d.zip
*** empty log message ***
Diffstat (limited to 'amount.cc')
-rw-r--r--amount.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/amount.cc b/amount.cc
index ac2288ad..e0aca70b 100644
--- a/amount.cc
+++ b/amount.cc
@@ -474,9 +474,12 @@ static commodity * parse_amount(mpz_t out, const char * num,
static char buf[256];
bool saw_commodity = false;
+ bool prefix = false;
+ bool separate = true;
+ bool thousands = true;
+ bool european = false;
std::string symbol;
- bool prefix, separate, thousands, european;
int precision, result;
if (ovector[base * 2] >= 0) {