removed olinks, updated lexer_lex to handle errors
[henge/webcc.git] / src / apc / ir.h
index 53b1d65..7983284 100644 (file)
@@ -109,22 +109,17 @@ struct vlink {
   char anim_name[32];
 };
 
-/* Olinks are links to odats */
-struct olink {
-  uint64_t ref_id;
-};
-
 union link_t {
-  struct olink olink;
   struct vlink vlink;
   struct svlink svlink;
 };
 
-/* From: Some odat ()To: Another odat (ref_id)*/
+/* From: src odat ()To: dest odat (ref_id)*/
 struct link {
   int type; //1 = olink, 2 = vlink, 3 = svlink
   union link_t link_t;
   struct cdat* classp;
+  struct odat* odatp;
   int set_idx;
   int ele_idx;
 };