From be3e40aa40ba12262aba550b2bab6a69e8b4db2e Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Thu, 22 Jul 2021 01:31:50 +0000
Subject: [PATCH] Fixed makefile such that final linking isnt redone. Still need to ensure build dir is created for parent objects

---
 ast.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ast.cpp b/ast.cpp
index 57bd9ae..2c349da 100644
--- a/ast.cpp
+++ b/ast.cpp
@@ -174,7 +174,8 @@
 		for (std::vector<Line_Word*>::size_type j = 0; j < t->size(); j++) {
 			delete (*t)[j];
 		}
-		table[i]->clear();
+		t->clear();
+		delete t;
 	}
 	table.clear();
 }

--
Gitblit v1.10.0