ObjFW  Diff

Differences From Artifact [cf73f59c64]:

  • File tests/testfile.ini — part of check-in [12c5b7ee91] at 2014-06-12 13:43:41 on branch trunk — OFINIFile: Add support for quoted keys / values

    This is a much more logical way to handle leading and trailing
    whitespaces and also seems to be used by a few other INI
    implementations.

    Additionally, this imports OFINICategory.h in OFINIFile.h so that
    importing OFINIFile.h is enough - this should be less confusing - and
    allows opening non-existant files, treating them like an empty file. (user: js, size: 187) [annotate] [blame] [check-ins using]

To Artifact [2addf8918f]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[tests]
foo = bar
foobar=baz
;comment

[foobar]
;foobarcomment
qux=" asd"
"quxqux " = asd
quxquxqux="hello\"world"
qux2="\f"

[types]
integer = 0x20
bool = true
float = 0.5
double = 0.25










|






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[tests]
foo = bar
foobar=baz
;comment

[foobar]
;foobarcomment
qux=" asd"
"quxqux " = asd
quxquxqux="hello\"world"
qux2="a\f"

[types]
integer = 0x20
bool = true
float = 0.5
double = 0.25