I am trying to experiment with automatic transactions, which I see as
one of Ledger biggest draws.  A search of the archives indicates a
significant change in syntax for 3.0.0 so I tried the following:


= expr account =~ /^(Expenses:(Medical|Clothing))
    Liabilities:test            0.5

and this:

= account =~ /^(Expenses:(Medical|Clothing))
    Liabilities:test

They all fail silently.  Which is to say I see no change in the
Liabilities:test account. and there are no erros shown.  I do have
transactions that credit the Expenses:Medical and the
Expenses:Clothing accounts.

I use a single master file to include data from several files.  I put
the automatic transaction in the master file (both ahead of and behind
the !include statements). Does it need to be in the one of the other
files?

What am I missing?  I did look through the source for parser.cc,
token.cc and query.cc and found my C++ too rusty to be of any help.
-- 
Craig, Corona De Tucson, AZ
2008 Brunton Super Stalker
1989 BMW K75 Hannigan
enderw88.wordpress.com

Reply via email to