summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-24 23:11:50 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-24 23:11:50 -0400
commiteda733a56eae156044a879ab2ce1a15a0cf0eef8 (patch)
tree96b08421d46c2a65b880fb7bc5da1d598addc2f9 /config.h
parent93bd16b5457036c4ef591ee3f75ede67cc61b57b (diff)
downloadfork-ledger-eda733a56eae156044a879ab2ce1a15a0cf0eef8.tar.gz
fork-ledger-eda733a56eae156044a879ab2ce1a15a0cf0eef8.tar.bz2
fork-ledger-eda733a56eae156044a879ab2ce1a15a0cf0eef8.zip
improved error checking in parser, in case parts of an amount are missing
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/config.h b/config.h
index 5c7bba2e..53884c36 100644
--- a/config.h
+++ b/config.h
@@ -14,13 +14,6 @@
namespace ledger {
-extern std::string bal_fmt;
-extern std::string reg_fmt;
-extern std::string plot_value_fmt;
-extern std::string plot_total_fmt;
-extern std::string print_fmt;
-extern std::string equity_fmt;
-
struct config_t
{
// These options can all be set used text fields.
@@ -42,6 +35,7 @@ struct config_t
std::string plot_total_format;
std::string print_format;
std::string equity_format;
+ std::string prices_format;
std::string date_format;
std::string sort_string;
std::string amount_expr;