From 18126da9c538046a93715d829722c818773b9ac1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 30 Aug 2018 14:16:09 -0700 Subject: Auto-upgraded to 3.7 --- tools/parse.nom | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/parse.nom') 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 " -- cgit v1.2.3