diff options
Diffstat (limited to 'examples/ini')
| -rw-r--r-- | examples/ini/ini.tm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ini/ini.tm b/examples/ini/ini.tm index 37692cae..4e5ec776 100644 --- a/examples/ini/ini.tm +++ b/examples/ini/ini.tm @@ -6,7 +6,7 @@ _HELP := " $_USAGE " -func parse_ini(path:Path)->{Text:{Text:Text}}: +func parse_ini(path:Path -> {Text:{Text:Text}}): text := path:read() or exit("Could not read INI file: $\[31;1]$(path.text_content)$\[]") sections := {:Text:@{Text:Text}} current_section := @{:Text:Text} |
