Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / main.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 0 deletions
-rw-r--r--Year 2/Implementation of Programming Languages/Transpiler/src/main.cpp1
diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/main.cpp b/Year 2/Implementation of Programming Languages/Transpiler/src/main.cpp
index a154c56..7f829d3 100644
--- a/Year 2/Implementation of Programming Languages/Transpiler/src/main.cpp
+++ b/Year 2/Implementation of Programming Languages/Transpiler/src/main.cpp
@@ -14,4 +14,5 @@ int main() {
for (Value* n : nodes) {
n->Visit(visitor);
}
+ visitor.finalizeFile();
}