Debian Codegraph @

internal/toml-test/tests/valid/comment/everywhere.toml

raw
1 # Top comment.
2 # Top comment.
3 # Top comment.
4
5 # [no-extraneous-groups-please]
6
7 [group] # Comment
8 answer = 42 # Comment
9 # no-extraneous-keys-please = 999
10 # Inbetween comment.
11 more = [ # Comment
12 # What about multiple # comments?
13 # Can you handle it?
14 #
15 # Evil.
16 # Evil.
17 42, 42, # Comments within arrays are fun.
18 # What about multiple # comments?
19 # Can you handle it?
20 #
21 # Evil.
22 # Evil.
23 # ] Did I fool you?
24 ] # Hopefully not.
25
26 # Make sure the space between the datetime and "#" isn't lexed.
27 dt = 1979-05-27T07:32:12-07:00 # c
28 d = 1979-05-27 # Comment
29
30 [[aot]] # Comment
31 k = 98 # Comment
32 [[aot]]# Comment
33 k = 99# Comment