aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/find_action.nom4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/find_action.nom b/tools/find_action.nom
index 03bae54..ae3bf72 100755
--- a/tools/find_action.nom
+++ b/tools/find_action.nom
@@ -18,4 +18,6 @@ for %path in %files:
say (blue "\%filename:\%line_num:")
say (yellow (source lines of %t))
- if (%t is syntax tree) (for %sub in %t (recurse %t on %sub))
+ if (%t is syntax tree):
+ for %sub in %t:
+ recurse %t on %sub