Mercurial > hg > th-libs
view cfg.test01 @ 521:77495c646208
Fix parsing and writing of strings with simple escape sequences in config files.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 26 Dec 2019 13:34:19 +0200 |
parents | e412a39e2b7a |
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 } }