From 37a67d89b036a715206f38adc3c4fec2421523e5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 3 Feb 2005 05:18:34 +0000 Subject: (parse_ledger_data): Don't auto-create equivalencies for bytes, kilobytes, etc., since people may want to use "b" for something else. --- config.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.cc') diff --git a/config.cc b/config.cc index 7a4c0c45..a5db0571 100644 --- a/config.cc +++ b/config.cc @@ -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() && -- cgit v1.2.3