I get a warning that I think shouldn't be there when I use the --strict 
option.

> Warning: "Budget.dat", line 16: Unknown account 'Budget:$account'

Here are the relevant lines in Budget.dat:

> = /^Expenses:(?=Groceries|Rent|Utilities)/
>     (Budget:$account)    -1.0

When the referenced $account is parsed during execution, Budget:$account 
always yields accounts that are already known. So in my opinion there 
should be no warning and I would consider this a bug.

A workaround is to add the following at the top of the Budget.dat file:

> account Budget:$account

Please let me know if you know better ways to deal with this situation. 
Thanks!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to