aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-08-27 13:38:58 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-08-27 13:39:22 -0700
commit930d522fbc3ab57faa926ed85f0d35d661722402 (patch)
tree8c91c71728b43b4e1817ed182c39bf991cb4b2a9 /tools
parentc6a7b0be9ebdddb58a03749705987cb3058060d3 (diff)
Bunch of miscellaneous changes. Paved the way a little bit for having
different compiler domains.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/find_action.nom2
-rwxr-xr-xtools/upgrade.nom1
2 files changed, 1 insertions, 2 deletions
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)