diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-21 17:49:38 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-21 17:49:38 +0100 |
commit | 7287aad336161eb9a143f188c92d462e62051374 (patch) | |
tree | 9454bf16a1b769bd9acf8897e93b3153939e8cad /src/commodity.cc | |
parent | add2ffd5f34e8c68edcc95f9d0dbf6de11224ba1 (diff) | |
download | fork-ledger-7287aad336161eb9a143f188c92d462e62051374.tar.gz fork-ledger-7287aad336161eb9a143f188c92d462e62051374.tar.bz2 fork-ledger-7287aad336161eb9a143f188c92d462e62051374.zip |
Revert "Added % suffix operator, as in "$1.00 * 10%""
This reverts commit 0e9f782a05ab9bc892af40abef84346a16d3baec.
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 e69758f0..095912dd 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -501,14 +501,14 @@ void commodity_t::parse_symbol(std::istream& in, string& symbol) { // Invalid commodity characters: // SPACE, TAB, NEWLINE, RETURN - // 0-9 . , ; - + * / ^ ? : & | ! = % + // 0-9 . , ; - + * / ^ ? : & | ! = // < > { } [ ] ( ) @ static int invalid_chars[256] = { /* 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, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, + /* 20 */ 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, /* 30 */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 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, |