Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
ffee4e604e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;