summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-09 18:20:00 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-09 18:20:00 -0400
commit139a7b486d27fcb01caabd63e77db1b0f771b795 (patch)
treef49d1656b397c7e907ebb6e77b4d8cf8b6676122 /src/commodity.cc
parent8a855f9b447a933daaeb332826dab5956c04fc6f (diff)
downloadfork-ledger-139a7b486d27fcb01caabd63e77db1b0f771b795.tar.gz
fork-ledger-139a7b486d27fcb01caabd63e77db1b0f771b795.tar.bz2
fork-ledger-139a7b486d27fcb01caabd63e77db1b0f771b795.zip
Exclude | from the legal commodity character set, as per the comment.
Diffstat (limited to 'src/commodity.cc')
-rw-r--r--src/commodity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index 91bcaba9..5169e3af 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -548,7 +548,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, 0, 1, 0, 1, 1, 0,
+ /* 70 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0,
/* 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,