aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-08-30 14:06:41 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-08-30 14:07:40 -0700
commitab38fd19fa6e30b4a0629b3445812cb6bf025a25 (patch)
treeea2a2c71535d1a9c58ca947671ca039441a728cc /tools
parent77ebe2fb2a7f6508437f1560af031eb8abd4672b (diff)
Fixed obnoxious bug where List was getting used instead of a Dict,
causing havoc when .first and .pop were being accessed.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/parse.nom3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/parse.nom b/tools/parse.nom
index ef081a7..0f71123 100755
--- a/tools/parse.nom
+++ b/tools/parse.nom
@@ -9,6 +9,9 @@ action [print tree %t at indent %indent]:
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 "