diff options
Diffstat (limited to 'tools/format.nom')
| -rwxr-xr-x | tools/format.nom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/format.nom b/tools/format.nom index 76c4981..7d9d1d4 100755 --- a/tools/format.nom +++ b/tools/format.nom @@ -19,7 +19,7 @@ for $filename in $filenames: $file = (read file $filename) unless $file: barf "File does not exist: \$filename" - $leading_indent = ($file, matching "[\n]*([ ]*)") + $leading_indent = ($file, matching "\n*([ ]*)") $code = (NomsuCode from ($Source $filename 1 (size of $file)) $file) try: $tree = ($code parsed) |
