diff options
Diffstat (limited to 'tools/parse.nom')
| -rwxr-xr-x | tools/parse.nom | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/parse.nom b/tools/parse.nom index 0f71123..0622e27 100755 --- a/tools/parse.nom +++ b/tools/parse.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V3.6.5.6 +#!/usr/bin/env nomsu -V3.7.5.6 # Tool to print out a parse tree of files in an easy-to-read format. Usage: nomsu tools/parse.nom file1 file2 directory1 ... @@ -10,8 +10,9 @@ action [print tree %t at indent %indent]: "Action": say "\(%indent)Action (\(%t.stub)):" if %t.target: - say "\(%indent) Target:" + say "\%indent Target:" print tree %t.target at indent "\%indent " + for %arg in %t: if (%arg is syntax tree): print tree %arg at indent "\%indent " |
