diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-03-20 16:16:41 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-03-20 16:16:41 -0700 |
| commit | 938adbfe446e7f4a4e45b9dd27b5cf2e7ee4070c (patch) | |
| tree | 1a28126609a6d2ad3acabfa044aea106f0abf10b /lib/tools/find.nom | |
| parent | e665d9725c4bb02f4c18d16527367f424cb880fa (diff) | |
Switching more verbose ("Action" tree with "foo" $x) syntax to `(foo
`$x) when possible
Diffstat (limited to 'lib/tools/find.nom')
| -rwxr-xr-x | lib/tools/find.nom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tools/find.nom b/lib/tools/find.nom index 45a51e5..e3ef185 100755 --- a/lib/tools/find.nom +++ b/lib/tools/find.nom @@ -43,7 +43,7 @@ command line program with $args: for $ in (1 to #$patt): if ($patt.$ is syntax tree): - if ($patt.$ == ("Var" tree with "multi_wildcard")): return (yes) + if ($patt.$ == `$multi_wildcard): return (yes) unless ($tree.$ matches $patt.$): return (no) ..else: unless ($tree.$ == $patt.$): return (no) @@ -99,4 +99,4 @@ command line program with $args: ..else: sort $results by $ -> $.line for $ in $results: - say $.text
\ No newline at end of file + say $.text |
