diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-27 01:54:59 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-27 01:54:59 -0400 |
commit | 483a513d31b4642a41a236dd859432d614f9aa6d (patch) | |
tree | 6cb7f295feb3c25e8352e18311755f642e80f41d /src/commodity.cc | |
parent | b1adca6c806eb584f1e4cc648c743d9acb99c9a7 (diff) | |
download | fork-ledger-483a513d31b4642a41a236dd859432d614f9aa6d.tar.gz fork-ledger-483a513d31b4642a41a236dd859432d614f9aa6d.tar.bz2 fork-ledger-483a513d31b4642a41a236dd859432d614f9aa6d.zip |
The letter 'z' was not allowed in commodity names
Diffstat (limited to 'src/commodity.cc')
-rw-r--r-- | src/commodity.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commodity.cc b/src/commodity.cc index 8fd11e4d..6b39d711 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -486,7 +486,7 @@ void commodity_t::parse_symbol(std::istream& in, string& symbol) // < > { } [ ] ( ) @ static int invalid_chars[256] = { - /* 0 1 2 3 4 5 6 7 8 9 a b c d e f */ + /* 0 1 2 3 4 5 6 7 8 9 a b c d e f */ /* 00 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, /* 10 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 20 */ 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, @@ -494,7 +494,7 @@ void commodity_t::parse_symbol(std::istream& in, string& symbol) /* 40 */ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 50 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, /* 60 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - /* 70 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, + /* 70 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, /* 80 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 90 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* a0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |