From 2dff27c086e8f2a9913096ebf3dc93e97051d85a Mon Sep 17 00:00:00 2001 From: Max Graey Date: Thu, 7 Oct 2021 22:43:30 +0300 Subject: Add table.set operation (#4215) --- src/passes/Print.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/passes/Print.cpp') diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 4d6207b01..a5db73132 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -1846,6 +1846,10 @@ struct PrintExpressionContents printMedium(o, "table.get "); printName(curr->table, o); } + void visitTableSet(TableSet* curr) { + printMedium(o, "table.set "); + printName(curr->table, o); + } void visitTry(Try* curr) { printMedium(o, "try"); if (curr->name.is()) { -- cgit v1.2.3