"+" for amounts moved "to" is not supported, is interpreted as part of currency symbol; error message is not helpful #181

Closed
aleksejrs opened this Issue Apr 30, 2014 · 0 comments

Projects

None yet

2 participants

@aleksejrs

When the currency symbol comes before the number, the problem is at least understandable:

2014/04/30  USDplus
  assets $+2
  expenses

hledger balance
$+2 assets
$+-2 expenses

2014/04/30 plus
    assets  +2
    expenses

+2 assets
+-2 expenses

When the currency symbol follows the numbers, the error message is confusing:

2014/04/30 RUBplus
  assets  +2 RUB
  expenses

hledger: "ledg" (line 2, column 14):
unexpected "R"
expecting postings

@simonmichael simonmichael added the BUG label Apr 30, 2014
@simonmichael simonmichael added the journal label May 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment