all repos

clerk @ olex/oxrnnk

missing tooling for ledger/hledger

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

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
lexer & parser & ast..., 14 days ago
1
Journal
2
  Transaction j:1:1-5:0
3
    Date: 2024/01/01
4
    Payee: "groceries" j:1:12-2:0
5
    Posting j:2:1-3:1
6
      Account "expenses:food" j:2:5-2:18
7
      Amount j:2:20-2:20
8
        Quantity: 10
9
        Commodity: "$"
10
        CommodityPos: Before
11
        HasSpace: false
12
        Precision: 0
13
        Decimal: "."
14
  BlankLine j:5:0-5:1
15
  Transaction j:5:1-8:1
16
    Date: 2024/01/02
17
    Payee: "salary" j:5:12-6:0
18
    Posting j:6:1-7:1
19
      Account "income:salary" j:6:5-6:18
20
      Amount j:6:20-6:20
21
        Quantity: 1000
22
        Commodity: "$"
23
        CommodityPos: Before
24
        HasSpace: false
25
        Precision: 0
26
        Decimal: "."
27
    Posting j:7:1-8:1
28
      Account "assets:checking" j:7:5-8:0
29
      Amount: <elided>
30
  Errors
31
    j:3:5-3:7: expected account name, got ATAT