summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 51d261126..889eb87fd 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -1950,6 +1950,12 @@ struct PrintExpressionContents
printMedium(o, "table.fill ");
printName(curr->table, o);
}
+ void visitTableCopy(TableCopy* curr) {
+ printMedium(o, "table.copy ");
+ printName(curr->destTable, o);
+ o << ' ';
+ printName(curr->sourceTable, o);
+ }
void visitTry(Try* curr) {
printMedium(o, "try");
if (curr->name.is()) {