From ab38fd19fa6e30b4a0629b3445812cb6bf025a25 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 30 Aug 2018 14:06:41 -0700 Subject: Fixed obnoxious bug where List was getting used instead of a Dict, causing havoc when .first and .pop were being accessed. --- tools/parse.nom | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/parse.nom') 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 " -- cgit v1.2.3