summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-12 02:35:05 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-12 02:35:05 -0400
commitf8c48d7a6f44e5498505b35fd7256f70b4c35cab (patch)
tree75ac0ccc6483b9666cffa9b22f1c523c07fc2076 /src/textual.cc
parentb53f844129ff34db0253b3430ad2ae6f1c0415cb (diff)
downloadledger-f8c48d7a6f44e5498505b35fd7256f70b4c35cab.tar.gz
ledger-f8c48d7a6f44e5498505b35fd7256f70b4c35cab.tar.bz2
ledger-f8c48d7a6f44e5498505b35fd7256f70b4c35cab.zip
Ignore lines in Ledger files which contain only whitespace.
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc
index d15b0e67..d2554c47 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -1098,7 +1098,7 @@ entry_t * instance_t::parse_entry(char * line,
char * p = skip_ws(line);
if (! *p)
- throw parse_error("Line contains only whitespace");
+ break;
if (*p == ';') {
item_t * item;