From f8c48d7a6f44e5498505b35fd7256f70b4c35cab Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 12 Feb 2009 02:35:05 -0400 Subject: Ignore lines in Ledger files which contain only whitespace. --- src/textual.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3