diff options
Diffstat (limited to 'tools/autoformat.nom')
| -rwxr-xr-x | tools/autoformat.nom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/autoformat.nom b/tools/autoformat.nom index dcccc21..42e7dca 100755 --- a/tools/autoformat.nom +++ b/tools/autoformat.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V3.7.5.6 +#!/usr/bin/env nomsu -V3.8.7.6 # Auto-format Nomsu code. Usage: nomsu tools/autoformat.nom [-i] file1 file2 directory1 ... @@ -15,7 +15,7 @@ if (%args.1 is "-i"): for %path in %args: for file %filename in %path: - unless (%filename matches "%.nom$"): do next %filename + unless (%filename::matches "%.nom$"): do next %filename %formatted = ".." #!/usr/bin/env nomsu -V\(Nomsu version) \((parse (read file %filename) from %filename) as nomsu) |
