File: comments.in

package info (click to toggle)
editorconfig-emacs 0.11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 700 kB
  • sloc: lisp: 1,529; sh: 105; makefile: 66; python: 4
file content (57 lines) | stat: -rw-r--r-- 945 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
; test comments

root = true

[test1.c]
key=value ; Comment after property is ignored

[test2.c] ; Comment ignored, even with ] character
key=value

[test3.c]
; Comment before properties ignored
key=value

[test4.c]
key1=value1
; Comment between properties ignored
key2=value2

; Semicolon at end of value read as part of value
[test5.c]
key=value; not comment

; Escaped semicolon in value
[test6.c]
key=value \; not comment

; Escaped semicolon in section name
[test\;.c]
key=value

[test7.c]
key=value # Comment after property is ignored

[test8.c] # Comment ignored, even with ] character
key=value

[test9.c]
# Comment before properties ignored
key=value

[test10.c]
key1=value1
# Comment between properties ignored
key2=value2

# Octothorpe at end of value read as part of value
[test11.c]
key=value# not comment

# Escaped octothorpe in value
[test12.c]
key=value \# not comment

# Escaped octothorpe in section name
[test\#.c]
key=value