From 520acd39795766354fc44c6e15f5f33f255ca33a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 16 Jan 2019 21:33:02 -0800 Subject: Overhauling OO-API a little to make it more minimalistic. --- lib/tools/replace.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tools/replace.nom') diff --git a/lib/tools/replace.nom b/lib/tools/replace.nom index d9926cf..7337447 100755 --- a/lib/tools/replace.nom +++ b/lib/tools/replace.nom @@ -42,7 +42,7 @@ command line program with $args: : for $ in recursive $pattern_tree: if (($.type == "Var") and (not $literal_vars.($.1))): add $.1 for $child in $: - if ($child is a "Syntax Tree"): + if ($child is "a Syntax Tree"): recurse $ on $child } -- cgit v1.2.3