diff options
| author | Federico Angelilli <code@fedang.net> | 2024-05-29 19:39:02 +0200 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-05-29 19:39:02 +0200 |
| commit | 6042502bc54807df1941bf4d540337cd8b9e5a58 (patch) | |
| tree | 75be00446dd6c0908c9c2af0e35be0c348134c63 /test/ini.c | |
| parent | 61b820af1102d74f35a2af0b39d9d78971c45f96 (diff) | |
Fix section parsing and line tracking
Diffstat (limited to 'test/ini.c')
| -rw-r--r-- | test/ini.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -23,7 +23,11 @@ void test_ini() /*16*/ " sus \n" /*17*/ "test = multi \\\n" /*18*/ " line \\\n" - /*19*/ " works ; boh \n"; + /*19*/ " works ; boh \n" + /*20*/ "[ section \n" + /*21*/ " test = boh\n" + /*22*/ " [ sus [[ ciao [] si ]\n" + /*23*/ " works = boh \n"; any_ini_t ini; any_ini_init(&ini, src, strlen(src)); |
