diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-03-14 16:30:43 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-03-14 16:30:43 -0700 |
| commit | ddb839bfd4ba8dbdd214f3e885629fc8fe57e68c (patch) | |
| tree | aee183d005229b21a5ce636685f416f97bd5aa9e /lib/tools/upgrade.nom | |
| parent | 7f138199078a2fc2b6d6ee8d31da940120c8216a (diff) | |
Replacing (size of $) with (#$) as should have been done before.
Diffstat (limited to 'lib/tools/upgrade.nom')
| -rwxr-xr-x | lib/tools/upgrade.nom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tools/upgrade.nom b/lib/tools/upgrade.nom index f4a2b8c..debce62 100755 --- a/lib/tools/upgrade.nom +++ b/lib/tools/upgrade.nom @@ -27,7 +27,7 @@ command line program with $args: unless $file: fail "File does not exist: \$filename" $leading_indent = ($file, matching "\n*([ ]*)") - $code = (NomsuCode from (Source $filename 1 (size of $file)) $file) + $code = (NomsuCode from (Source $filename 1 (#$file)) $file) $tree = ($code parsed $start_version) $uptree = $tree upgraded from ($start_version or ($tree.version or $(NOMSU VERSION))) to @@ -45,4 +45,4 @@ command line program with $args: say (bright "\$filename will be changed") else: - say $text inline + say $text inline
\ No newline at end of file |
