| 1 |
; test comments |
| 2 |
|
| 3 |
root = true |
| 4 |
|
| 5 |
[test3.c] |
| 6 |
; Comment before properties ignored |
| 7 |
key=value |
| 8 |
|
| 9 |
[test4.c] |
| 10 |
key1=value1 |
| 11 |
; Comment between properties ignored |
| 12 |
key2=value2 |
| 13 |
|
| 14 |
; Semicolon or hash at end of value read as part of value |
| 15 |
[test5.c] |
| 16 |
key1=value; not comment |
| 17 |
key2=value # not comment |
| 18 |
|
| 19 |
; Backslash before a semicolon or hash is part of the value |
| 20 |
[test6.c] |
| 21 |
key1=value \; not comment |
| 22 |
key2=value \# not comment |
| 23 |
|
| 24 |
; Escaped semicolon in section name |
| 25 |
[test\;.c] |
| 26 |
key=value |
| 27 |
|
| 28 |
[test9.c] |
| 29 |
# Comment before properties ignored |
| 30 |
key=value |
| 31 |
|
| 32 |
[test10.c] |
| 33 |
key1=value1 |
| 34 |
# Comment between properties ignored |
| 35 |
key2=value2 |
| 36 |
|
| 37 |
# Octothorpe at end of value read as part of value |
| 38 |
[test11.c] |
| 39 |
key=value# not comment |
| 40 |
|
| 41 |
# Escaped octothorpe in value |
| 42 |
[test12.c] |
| 43 |
key=value \# not comment |
| 44 |
|
| 45 |
# Escaped octothorpe in section name |
| 46 |
[test\#.c] |
| 47 |
key=value |