projects
/
henge
/
webcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed olinks, updated lexer_lex to handle errors
[henge/webcc.git]
/
src
/
apc
/
ir.h
diff --git
a/src/apc/ir.h
b/src/apc/ir.h
index
53b1d65
..
7983284
100644
(file)
--- a/
src/apc/ir.h
+++ b/
src/apc/ir.h
@@
-109,22
+109,17
@@
struct vlink {
char anim_name[32];
};
char anim_name[32];
};
-/* Olinks are links to odats */
-struct olink {
- uint64_t ref_id;
-};
-
union link_t {
union link_t {
- struct olink olink;
struct vlink vlink;
struct svlink svlink;
};
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 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;
};
int set_idx;
int ele_idx;
};