projects
/
henge
/
webcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added ir_init return value, check for malloc, adding subclasses for cdats correctly...
[henge/webcc.git]
/
src
/
apc
/
ir.c
diff --git
a/src/apc/ir.c
b/src/apc/ir.c
index
d31bc1a
..
67a6aaf
100644
(file)
--- a/
src/apc/ir.c
+++ b/
src/apc/ir.c
@@
-98,7
+98,7
@@
push_cdat
curr_cdatp->idx = num_cdats;
/* Set the cdat as a subclass of the previous cdat */
-
+ (*cdat_stackp)->class_list[(*cdat_stackp)->num_classes] = curr_cdatp;
/* Push the cdat onto the cdat_stack */
*++cdat_stackp = curr_cdatp;