summaryrefslogtreecommitdiff
path: root/05/main.b
diff options
context:
space:
mode:
Diffstat (limited to '05/main.b')
-rw-r--r--05/main.b13
1 files changed, 5 insertions, 8 deletions
diff --git a/05/main.b b/05/main.b
index 2200156..4ff7e5c 100644
--- a/05/main.b
+++ b/05/main.b
@@ -30,12 +30,10 @@ global types_bytes_used
global typedefs
; ident list of enum values
global enumerators
-; struct/union names
-; an ident list of pointers to struct data (see structures below)
-global struct_names
-; structs and unions
-; each struct/union is an ident list of 64-bit values, (type << 32) | offset
-; for unions, offset will always be 0.
+; struct/unions
+; an ident list of pointers to struct data
+; each struct data is an ident list of 64-bit values, (type << 32) | offset
+; for unions, offset will always be 0.
global structures
global structures_bytes_used
@@ -155,7 +153,7 @@ function main
typedefs = ident_list_create(100000)
enumerators = ident_list_create(4000000)
- struct_names = ident_list_create(4000000)
+ structures = ident_list_create(4000000)
dat_banned_objmacros = 255
dat_banned_fmacros = 255
@@ -164,7 +162,6 @@ function main
*1file_list = 255
object_macros = malloc(4000000)
function_macros = malloc(4000000)
- structures = malloc(40000000)
types = malloc(16000000)
types_init(types, &types_bytes_used)