diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-08-30 14:16:09 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-08-30 14:16:18 -0700 |
| commit | 18126da9c538046a93715d829722c818773b9ac1 (patch) | |
| tree | 3a88e43636b85534ded21abd9f9f106b8ffbc037 /tools/parse.nom | |
| parent | ba00294badff9d5f5d55e1080a17b13fea961f55 (diff) | |
Auto-upgraded to 3.7
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 " |
