From 6ba84a0f507270fba8e7a68901dc256c2979d7f9 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 14 Dec 2018 17:49:36 -0800 Subject: Initial setup work for syntax version 5. --- tools/parse.nom | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/parse.nom b/tools/parse.nom index 4e61473..0745847 100755 --- a/tools/parse.nom +++ b/tools/parse.nom @@ -11,13 +11,14 @@ externally (print tree %t at indent %indent) means: if %t.type is: "Action": say "\(%indent)Action (\(%t.stub)):" - if %t.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 " + + "MethodCall": + say "\(%indent)MethodCall on:" + print tree %t.1 at indent "\%indent " + print tree %t.2 at indent "\%indent " "Number": say "\%indent\(%t.1)" -- cgit v1.2.3