diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-11 18:34:20 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-11 18:34:31 -0800 |
| commit | c9db20040e4830744d4f04ccbc26c03486dda754 (patch) | |
| tree | 476e2c0979f6b2b67f5ebf7ff78c773f4483b75c /tools | |
| parent | 171e9d674e4ae85e303c90679ad47bceda3b3810 (diff) | |
Fixed compatibility thing with NomsuCode::from
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/autoformat.nom | 2 | ||||
| -rwxr-xr-x | tools/find_action.nom | 2 | ||||
| -rwxr-xr-x | tools/upgrade.nom | 2 |
3 files changed, 3 insertions, 3 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: diff --git a/tools/find_action.nom b/tools/find_action.nom index a6be84f..21482d3 100755 --- a/tools/find_action.nom +++ b/tools/find_action.nom @@ -16,7 +16,7 @@ for %path in %files: for file %filename in %path: unless (%filename::matches "%.nom$"): do next %filename %file = (read file %filename) - %code = (%NomsuCode (%Source %filename 1 (size of %file)) %file) + %code = (NomsuCode from (%Source %filename 1 (size of %file)) %file) try: %tree = (%code parsed) ..and if it barfs %msg: diff --git a/tools/upgrade.nom b/tools/upgrade.nom index 469a127..5f50f73 100755 --- a/tools/upgrade.nom +++ b/tools/upgrade.nom @@ -41,7 +41,7 @@ for %path in %args: for file %filename in %path: unless (%filename::matches "%.nom$"): do next %filename %file = (read file %filename) - %code = (%NomsuCode::from (%Source %filename 1 (size of %file)) %file) + %code = (NomsuCode from (%Source %filename 1 (size of %file)) %file) %tree = (%code parsed) %uptree = (..) %tree upgraded from (%start_version or (%tree.version or (Nomsu version))) to \ |
