Przeglądaj źródła

Patched bug with symbol insertion (removed variables and caused a GC bug)

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7871 8c9fc860-2736-0410-a75d-ab315db34111
felixf 7 lat temu
rodzic
commit
ffee4e604e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      source/FoxSyntaxTree.Mod

+ 1 - 1
source/FoxSyntaxTree.Mod

@@ -4725,7 +4725,7 @@ TYPE
 			ASSERT(v # NIL);
 			ASSERT(after # NIL);
 			v.nextVariable := after.nextVariable;
-			after.nextVariable := v.nextVariable;
+			after.nextVariable := v;
 			IF after = lastVariable THEN lastVariable := v END; 
 		END InsertVariable;