Mercurial > hg > th-libs
comparison 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 |
comparison
equal
deleted
inserted
replaced
520:8b36f2566cf9 | 521:77495c646208 |
---|---|
11 | 11 |
12 # A boolean value | 12 # A boolean value |
13 boolval = no | 13 boolval = no |
14 | 14 |
15 # A string list | 15 # A string list |
16 string_list = "zoo", | 16 string_list = "\zoo", |
17 | 17 |
18 "foo", | 18 "foo", |
19 "bar" | 19 "b\"ar" |
20 } | 20 } |
21 | 21 |
22 another_sect = { | 22 another_sect = { |
23 # Another section | 23 # Another section |
24 boolval = yes | 24 boolval = yes |