diff options
author | John Wiegley <johnw@newartisans.com> | 2005-02-03 05:18:34 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:40:53 -0400 |
commit | 37a67d89b036a715206f38adc3c4fec2421523e5 (patch) | |
tree | 06d3afd96347868088182099dc77a156a44fe369 /config.cc | |
parent | 3ea12c622dd702ac5cf6e21f95fb23a6b32c64eb (diff) | |
download | fork-ledger-37a67d89b036a715206f38adc3c4fec2421523e5.tar.gz fork-ledger-37a67d89b036a715206f38adc3c4fec2421523e5.tar.bz2 fork-ledger-37a67d89b036a715206f38adc3c4fec2421523e5.zip |
(parse_ledger_data): Don't auto-create equivalencies for bytes,
kilobytes, etc., since people may want to use "b" for something else.
Diffstat (limited to 'config.cc')
-rw-r--r-- | config.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -296,6 +296,7 @@ void parse_ledger_data(journal_t * journal, parser_t * cache_parser, parse_conversion("1.0m", "60s"); parse_conversion("1.0h", "60m"); +#if 0 commodity = commodity_t::find_commodity("b", true); commodity->flags |= COMMODITY_STYLE_NOMARKET; @@ -303,6 +304,7 @@ void parse_ledger_data(journal_t * journal, parser_t * cache_parser, parse_conversion("1.00 Mb", "1024 Kb"); parse_conversion("1.00 Gb", "1024 Mb"); parse_conversion("1.00 Tb", "1024 Gb"); +#endif journal->price_db = config.price_db; if (! journal->price_db.empty() && |