aboutsummaryrefslogtreecommitdiff
path: root/tools/autoformat.nom
diff options
context:
space:
mode:
Diffstat (limited to 'tools/autoformat.nom')
-rwxr-xr-xtools/autoformat.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/autoformat.nom b/tools/autoformat.nom
index b15f4ce..3082a9e 100755
--- a/tools/autoformat.nom
+++ b/tools/autoformat.nom
@@ -19,7 +19,7 @@ for %path in %args:
for file %filename in %path:
unless (%filename::matches "%.nom$"): do next %filename
%contents = (read file %filename)
- %code = (%NomsuCode::from (Source %filename 1 (size of %contents)) %contents)
+ %code = (NomsuCode from (Source %filename 1 (size of %contents)) %contents)
%tree = (%code parsed)
%formatted = ((%tree as nomsu)::text)
if %inplace: