diff options
Diffstat (limited to 'examples/ini')
| -rw-r--r-- | examples/ini/ini.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ini/ini.tm b/examples/ini/ini.tm index 7d53d7e5..c24cb4b9 100644 --- a/examples/ini/ini.tm +++ b/examples/ini/ini.tm @@ -11,8 +11,8 @@ _HELP := " func parse_ini(path:Path -> {Text={Text=Text}}) text := path.read() or exit("Could not read INI file: $\[31;1]$(path)$\[]") - sections : @{Text=@{Text=Text}} = @{} - current_section : @{Text=Text} = @{} + sections : @{Text=@{Text=Text}} + current_section : @{Text=Text} # Line wraps: text = text.replace_pattern($Pat/\{1 nl}{0+space}/, " ") |
