2010-04-06 00:55:57 +04:00
|
|
|
# a commodity may contain/end with numbers, if double quoted
|
|
|
|
# 1. without quotes, fail. XXX parse error should be clearer here
|
2012-10-21 22:23:23 +04:00
|
|
|
hledgerdev -f- print
|
2010-04-06 00:55:57 +04:00
|
|
|
<<<
|
|
|
|
2010-04-05 x
|
|
|
|
a 10 DE0002635307
|
|
|
|
b
|
2010-09-04 00:51:01 +04:00
|
|
|
>>>2 /unexpected "0"/
|
2010-04-06 00:55:57 +04:00
|
|
|
>>>= 1
|
2010-05-27 05:38:23 +04:00
|
|
|
# 2. with quotes, ok; quotes appear in print output
|
2012-10-21 22:23:23 +04:00
|
|
|
hledgerdev -f- print
|
2010-04-06 00:55:57 +04:00
|
|
|
<<<
|
|
|
|
2010-04-05 x
|
2011-04-22 17:50:05 +04:00
|
|
|
a 10 "DE 0002 635307"
|
2010-04-06 00:55:57 +04:00
|
|
|
b
|
|
|
|
>>>
|
|
|
|
2010/04/05 x
|
2011-04-22 17:50:05 +04:00
|
|
|
a 10 "DE 0002 635307"
|
|
|
|
b -10 "DE 0002 635307"
|
2010-04-06 00:55:57 +04:00
|
|
|
|
2011-03-12 23:55:49 +03:00
|
|
|
>>>=0
|
|
|
|
|
2010-05-27 05:38:23 +04:00
|
|
|
# 3. and in other reports too, I guess
|
2012-10-21 22:23:23 +04:00
|
|
|
hledgerdev -f- balance
|
2010-05-27 05:38:23 +04:00
|
|
|
<<<
|
|
|
|
2010-04-05 x
|
|
|
|
a 10 "DE0002635307"
|
|
|
|
b
|
|
|
|
>>>
|
|
|
|
10 "DE0002635307" a
|
|
|
|
-10 "DE0002635307" b
|
|
|
|
--------------------
|
2011-04-22 17:50:05 +04:00
|
|
|
0
|
2011-03-12 23:55:49 +03:00
|
|
|
>>>=0
|