summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-27 12:38:51 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-27 12:38:51 -0600
commit268127cf11a8da96b81c751abc93196c2c26bbee (patch)
treee59ef2d3bd33553264df99cf0ae194d085b2d8ca /src/textual.cc
parentbee748cc930a18f8d92134c6eaf75a023c99fa9d (diff)
downloadfork-ledger-268127cf11a8da96b81c751abc93196c2c26bbee.tar.gz
fork-ledger-268127cf11a8da96b81c751abc93196c2c26bbee.tar.bz2
fork-ledger-268127cf11a8da96b81c751abc93196c2c26bbee.zip
Added 'note' sub-directive to 'commodity'
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 46489778..3ca0722e 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -1026,6 +1026,8 @@ void instance_t::commodity_directive(char * line)
commodity_nomarket_directive(*commodity);
else if (keyword == "default")
commodity_default_directive(*commodity);
+ else if (keyword == "note")
+ commodity->set_note(string(b));
}
}
}