all repos

clerk @ 7136c82232d67825b9ccd590797f85659c3a23bd

missing tooling for ledger/hledger

clerk/journal/parser/testdata/golden/Parser_ParseFile__recovery_after_bad_posting.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:3:1-5:0
6
      Account "assets:checking" j:3:5-4:0
7
      Amount: <elided>
8
  BlankLine j:5:0-5:1
9
  Transaction j:5:1-8:1
10
    Date: 2024/01/02
11
    Payee: "salary" j:5:12-6:0
12
    Posting j:6:1-7:1
13
      Account "income:salary" j:6:5-6:18
14
      Amount j:6:20-6:20
15
        Quantity: 1000
16
        Commodity: "$"
17
        CommodityPos: Before
18
        HasSpace: false
19
        Precision: 0
20
        Decimal: "."
21
    Posting j:7:1-8:1
22
      Account "assets:checking" j:7:5-8:0
23
      Amount: <elided>
24
  Errors
25
    j:2:5-2:7: expected account name, got ATAT