From 33e66800d77dc73f382f927ca597ceb02c0559f0 Mon Sep 17 00:00:00 2001
From: pycsham <shampuiyanchloe@gmail.com>
Date: Sun, 12 Apr 2020 17:36:01 -0400
Subject: [PATCH] Fixed changes on AstBuilding.py

---
 AstBuilding.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/AstBuilding.py b/AstBuilding.py
index 9bab8fc..ad89c76 100644
--- a/AstBuilding.py
+++ b/AstBuilding.py
@@ -130,12 +130,12 @@ def codeGenPrep(ASTs):
 
 
 def codeGen(ASTs, output="output"):
-    # ASTs = ASTs[:1] # TOREMOVE: don't compile stdlib for now
-    rASTs = []
-    for index,t in enumerate(ASTs):
-        if index == 0 or t[0] == "stdlib/5.0/java/lang/Object.java":
-            rASTs.append(t)
-    ASTs = rASTs
+    ASTs = ASTs[:1] # TOREMOVE: don't compile stdlib for now
+    # rASTs = []
+    # for index,t in enumerate(ASTs):
+    #     if index == 0 or t[0] == "stdlib/5.0/java/lang/Object.java":
+    #         rASTs.append(t)
+    # ASTs = rASTs
     arrayClassMemory = codeGenPrep(ASTs)
     for t in ASTs:
         t[1].codeGen()
-- 
GitLab