From 930d522fbc3ab57faa926ed85f0d35d661722402 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 27 Aug 2018 13:38:58 -0700 Subject: Bunch of miscellaneous changes. Paved the way a little bit for having different compiler domains. --- tools/find_action.nom | 2 +- tools/upgrade.nom | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/find_action.nom b/tools/find_action.nom index 2ddc89f..720899b 100755 --- a/tools/find_action.nom +++ b/tools/find_action.nom @@ -16,7 +16,7 @@ for %path in %files: %file = (read file %filename) %tree = (parse %file from %filename) for %t in recursive %tree: - if (%t is "Action" syntax tree) (..) + if (%t is "Action" syntax tree): if (%t.stub is %stub): %line_num = (line number of %t.source.start in %file) say (blue "\%filename:\%line_num:") diff --git a/tools/upgrade.nom b/tools/upgrade.nom index 490a58e..6cc2d2c 100755 --- a/tools/upgrade.nom +++ b/tools/upgrade.nom @@ -20,7 +20,6 @@ if (%args.1 is "-t"): remove index 1 from %args for %path in %args: - if (%path is "-i"): %inplace = (yes) for file %filename in %path: unless (%filename matches "%.nom$"): do next %filename %tree = (parse (read file %filename) from %filename) -- cgit v1.2.3