when reading code, make sure it's a correct doubly linked list
authorkramm <kramm>
Tue, 13 Jan 2009 22:42:08 +0000 (22:42 +0000)
committerkramm <kramm>
Tue, 13 Jan 2009 22:42:08 +0000 (22:42 +0000)
lib/as3/code.c

index e2a2f43..b125c95 100644 (file)
@@ -292,6 +292,7 @@ code_t*code_parse(TAG*tag, int len, abc_file_t*file, pool_t*pool, codelookup_t**
             head = code = c;
         } else {
             code->next = c;
+            c->prev = code;
             code = c;
         }