JJ: Description from the destination commit:

add parse_config.ml (buggy)

JJ: Description from source commit:
remake config parser
This commit is contained in:
swrup 2025-10-13 04:51:35 +02:00
parent d086bd7e12
commit a7569f7317
4 changed files with 183 additions and 1 deletions

17
default.config Normal file
View file

@ -0,0 +1,17 @@
# comment 1
# foo
# barr
[currency-EUR]
enabled = NO
# comment 2
code= "EUR"
name =euro
fractional_input_digits = 2
fractional_normal_digits =2
fractional_trailing_zero_digits= 2
% comment 3
alt_unit_names = "{"0":"€","3":"k€"}"
% comment 4
[dummy-section]
dummy = "blah"