mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
23 lines
394 B
Plaintext
23 lines
394 B
Plaintext
# a commodity may contain/end with numbers, if double quoted
|
|
# 1. without quotes, fail. XXX parse error should be clearer here
|
|
-f- print
|
|
<<<
|
|
2010-04-05 x
|
|
a 10 DE0002635307
|
|
b
|
|
>>>2 /parse error.*
|
|
unexpected "0"
|
|
expecting comment or new-line/
|
|
>>>= 1
|
|
# 2. with quotes
|
|
-f- print
|
|
<<<
|
|
2010-04-05 x
|
|
a 10 "DE0002635307"
|
|
b
|
|
>>>
|
|
2010/04/05 x
|
|
a 10 DE0002635307
|
|
b -10 DE0002635307
|
|
|