summaryrefslogtreecommitdiff
path: root/projects/hackc/classes.py
diff options
context:
space:
mode:
Diffstat (limited to 'projects/hackc/classes.py')
-rw-r--r--projects/hackc/classes.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/hackc/classes.py b/projects/hackc/classes.py
index 8dc1dd5..a8d446a 100644
--- a/projects/hackc/classes.py
+++ b/projects/hackc/classes.py
@@ -311,3 +311,7 @@ class Subroutine:
def print_verbose(self):
print(f"Define {self.category} {self.type} {self.name}")
self.params.print_verbose()
+ for variable in self.variables:
+ variable.print_verbose()
+ for statement in self.statements:
+ statement.print_verbose()