From 7a55c7ffc1e3565c82c746ea66dbb6af2e3d8509 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 28 Feb 2012 02:47:22 -0600 Subject: Allow xact notes on periodic transactions Fixes #448 --- src/textual.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index f6cbf070..739b63f0 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -1565,9 +1565,12 @@ bool instance_t::parse_posts(account_t * account, std::streamsize len = read_line(line); assert(len > 0); - if (post_t * post = parse_post(line, len, account, NULL, defer_expr)) { - xact.add_post(post); - added = true; + char * p = skip_ws(line); + if (*p != ';') { + if (post_t * post = parse_post(line, len, account, NULL, defer_expr)) { + xact.add_post(post); + added = true; + } } } -- cgit v1.2.3