Ignore lines in Ledger files which contain only whitespace.
This commit is contained in:
parent
b53f844129
commit
f8c48d7a6f
1 changed files with 1 additions and 1 deletions
|
|
@ -1098,7 +1098,7 @@ entry_t * instance_t::parse_entry(char * line,
|
||||||
|
|
||||||
char * p = skip_ws(line);
|
char * p = skip_ws(line);
|
||||||
if (! *p)
|
if (! *p)
|
||||||
throw parse_error("Line contains only whitespace");
|
break;
|
||||||
|
|
||||||
if (*p == ';') {
|
if (*p == ';') {
|
||||||
item_t * item;
|
item_t * item;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue