Ignore lines in Ledger files which contain only whitespace.

This commit is contained in:
John Wiegley 2009-02-12 02:35:05 -04:00
parent b53f844129
commit f8c48d7a6f

View file

@ -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;