all repos

clerk @ fd46af1560de1b82a363b5dd083110d0deb5525a

missing tooling for ledger/hledger

clerk/journal/parser/testdata/illegal_between_transactions.golden (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
parser: separate account names by :, 1 month ago
1
Journal
2
  Transaction j:1:1-4:1
3
    Date: 2024/01/01
4
    Payee: "groceries" j:1:12-2:0
5
    Posting j:2:1-3:1
6
      Account j:2:5-2:18
7
        SubAccount: "expenses" j:2:5-2:13
8
        SubAccount: "food" j:2:14-2:18
9
      Amount j:2:20-2:20
10
        Quantity: 10
11
        Commodity: "$"
12
        CommodityPos: Before
13
        HasSpace: false
14
        Precision: 0
15
        Decimal: "."
16
    Posting j:3:1-4:1
17
      Account j:3:5-4:0
18
        SubAccount: "assets" j:3:5-3:11
19
        SubAccount: "checking" j:3:12-4:0
20
      Amount: <elided>
21
  Transaction j:5:1-8:1
22
    Date: 2024/01/02
23
    Payee: "salary" j:5:12-6:0
24
    Posting j:6:1-7:1
25
      Account j:6:5-6:18
26
        SubAccount: "income" j:6:5-6:11
27
        SubAccount: "salary" j:6:12-6:18
28
      Amount j:6:20-6:20
29
        Quantity: 1000
30
        Commodity: "$"
31
        CommodityPos: Before
32
        HasSpace: false
33
        Precision: 0
34
        Decimal: "."
35
    Posting j:7:1-8:1
36
      Account j:7:5-8:0
37
        SubAccount: "assets" j:7:5-7:11
38
        SubAccount: "checking" j:7:12-8:0
39
      Amount: <elided>
40
  Errors
41
    j:4:1-4:2: unexpected token AT