view cfg.test01 @ 567:b75f42ca08ef

Massage th_vprintf_do() a bit, and factor out the format specifier handling into a separate function and use through a callback. This breaks the th_vprintf_do() API, unfortunately, but should make for further flexibility in future.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 08 Jan 2020 02:17:37 +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
    }
}