all repos

clerk @ 7136c82232d67825b9ccd590797f85659c3a23bd

missing tooling for ledger/hledger

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

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
lexer & parser & ast..., 14 days 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 "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
    Posting j:3:1-4:1
15
      Account "assets:checking" j:3:5-4:0
16
      Amount: <elided>
17
  BlankLine j:5:0-5:1
18
  Transaction j:5:1-8:1
19
    Date: 2024/01/02
20
    Payee: "salary" j:5:12-6:0
21
    Posting j:6:1-7:1
22
      Account "income:salary" j:6:5-6:18
23
      Amount j:6:20-6:20
24
        Quantity: 1000
25
        Commodity: "$"
26
        CommodityPos: Before
27
        HasSpace: false
28
        Precision: 0
29
        Decimal: "."
30
    Posting j:7:1-8:1
31
      Account "assets:checking" j:7:5-8:0
32
      Amount: <elided>
33
  Errors
34
    j:4:1-4:2: illegal character "@"
35
    j:4:2-4:3: illegal character "@"
36
    j:4:3-5:0: illegal character "@"