Mercurial > hg > th-libs
view cfg.test01 @ 555:36423638841a
Clean up the parser a bit. Also return valid error value when an error
occurs, instead of a bogus value.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 04 Jan 2020 16:49:25 +0200 |
parents | 77495c646208 |
children |
line wrap: on
line source
# Configuration written by th-libs unit tests 0.2 general = { # A comment that # spans multiple # lines automatically a_string_setting = "v_str1" #test # Hex triplet value setting hexval="11223344" # A boolean value boolval = no # A string list string_list = "\zoo", "foo", "b\"ar" } another_sect = { # Another section boolval = yes inside_sect = { # Section inside a section intval = 112 } }