On May 26, 2009, at 10:21 PM, talisein wrote:

04/04 CS Club Sign
 ... omitted entries ...
 Expenses:School:CS Club:Home Depot:4" Brush   2 @ $3.97
 Liabilities:Mastercard                   $-53.90

Used to work fine, but returned 'Error: Cannot annotate an amount with
no commodity'. I fixed it with:

This is most certainly a bug.

Also, it doesn't seem to like (2 * $3.97), it complains about
multiplying an amount by an amount.

This is a bug too.

The problem arises because the STL's strchr() returns a const char*
when given a const char* as a parameter.
Happily, it was the only such error I ran across.

Thanks!

Anyways, I love ledger, thanks a lot. :)

My pleasure. :)

John

Reply via email to