Hi John,
you write that
> This has been a supported feature since the 1.x days:
>
> !account Foo
> !include foo.dat
> !end
>
> Causes all accounts seen in foo.dat to be located "Foo:...".
I must be doing something wrong because running the following
command using the latest ledger master 5471370 results in an error:
% ledger -f projects.dat reg
While parsing file "projects.dat", line 3:
Error: basic_string::_S_construct NULL not valid
While parsing file "projects.dat", line 7:
Error: basic_string::_S_construct NULL not valid
The files I use are as follows:
=== BEGIN projects.dat ===
!account A
!include a.dat
!end
!account B
!include b.dat
!end
=== END projects.dat ===
=== BEGIN a.dat ===
1994/01/02 * Salary
Asssets:Bank:Checking 200.00
Income:Salary -200.00
=== END a.dat ===
=== BEGIN b.dat ===
1994/01/02 * Rent
Expenses:Rent 100.00
Asssets:Bank:Checking -100.00
=== END b.dat ===
What am I missing?
Alexis