2009-08-20 21:59:32 +00:00
|
|
|
no_file.ini: e=-1 user=0
|
|
|
|
... [section1]
|
|
|
|
... one=This is a test;
|
|
|
|
... two=1234;
|
|
|
|
... [ section 2 ]
|
|
|
|
... happy=4;
|
|
|
|
... sad=;
|
2010-09-27 13:56:09 +00:00
|
|
|
... [comment_test]
|
|
|
|
... test1=1;2;3;
|
|
|
|
... test2=2;3;4;this won't be a comment, needs whitespace before ';';
|
|
|
|
... test;3=345;
|
|
|
|
... test4=4#5#6;
|
2009-08-20 21:59:32 +00:00
|
|
|
normal.ini: e=0 user=101
|
|
|
|
... [section1]
|
|
|
|
... name1=value1;
|
|
|
|
... name2=value2;
|
|
|
|
bad_section.ini: e=3 user=102
|
|
|
|
bad_comment.ini: e=1 user=102
|
|
|
|
... [section]
|
|
|
|
... a=b;
|
|
|
|
... user=parse_error;
|
|
|
|
... c=d;
|
|
|
|
user_error.ini: e=3 user=104
|
|
|
|
... [section1]
|
|
|
|
... single1=abc;
|
|
|
|
... multi=this is a;
|
|
|
|
... single2=xyz;
|
|
|
|
... [section2]
|
|
|
|
... multi=a;
|
|
|
|
multi_line.ini: e=4 user=105
|
|
|
|
bad_multi.ini: e=1 user=105
|