aboutsummaryrefslogtreecommitdiff
path: root/examples/ini
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ini')
-rw-r--r--examples/ini/ini.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ini/ini.tm b/examples/ini/ini.tm
index 9b27e8cb..1c50ac37 100644
--- a/examples/ini/ini.tm
+++ b/examples/ini/ini.tm
@@ -7,7 +7,7 @@ _HELP := "
"
func parse_ini(path:Path -> {Text,{Text,Text}}):
- text := path:read() or exit("Could not read INI file: $\[31;1]$(path.text)$\[]")
+ text := path:read() or exit("Could not read INI file: $\[31;1]$(path)$\[]")
sections := @{:Text,@{Text,Text}}
current_section := @{:Text,Text}