summaryrefslogtreecommitdiffstats
path: root/HACKING-toc.txr
blob: b898157b3e86cf160179244adff732531340aaea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@(skip)
@(block)
@(trailer)

0. Overview
@(end)
@(collect :mingap 1)

@(line lineno)
@(cases)
@{num /[0-9]+\./} @rest
@(bind break "\n")
@(or)
@{num /[0-9.]+/} @rest
@(bind break "")
@(end)

@(end)
@(output)
SECTION  @{""   49} @{"LINE" -20}
@  (repeat)
@break@\
@{num 8} @{rest 49} @{lineno -20}
@  (end)
@(end)