Mercurial > hg-old > index.cgi
comparison lwasm/lwasm.h @ 356:7166254491ed
Finished pseudo ops
author | lost@starbug |
---|---|
date | Wed, 31 Mar 2010 18:46:32 -0600 |
parents | 60568b123281 |
children | 0cf4948d53b4 |
comparison
equal
deleted
inserted
replaced
355:981e34165e97 | 356:7166254491ed |
---|---|
100 struct line_expr_s | 100 struct line_expr_s |
101 { | 101 { |
102 lw_expr_t expr; | 102 lw_expr_t expr; |
103 int id; | 103 int id; |
104 struct line_expr_s *next; | 104 struct line_expr_s *next; |
105 }; | |
106 | |
107 typedef struct exportlist_s exportlist_t; | |
108 struct exportlist_s | |
109 { | |
110 char *symbol; // symbol to export | |
111 exportlist_t *next; // next in the export list | |
112 }; | |
113 | |
114 typedef struct importlist_s importlist_t; | |
115 struct importlist_s | |
116 { | |
117 char *symbol; // symbol to import | |
118 importlist_t *next; // next in the import list | |
105 }; | 119 }; |
106 | 120 |
107 typedef struct line_s line_t; | 121 typedef struct line_s line_t; |
108 struct line_s | 122 struct line_s |
109 { | 123 { |
184 int nextcontext; // the next available context | 198 int nextcontext; // the next available context |
185 | 199 |
186 symtab_t symtab; // meta data for the symbol table | 200 symtab_t symtab; // meta data for the symbol table |
187 macrotab_t *macros; // macro table | 201 macrotab_t *macros; // macro table |
188 sectiontab_t *sections; // section table | 202 sectiontab_t *sections; // section table |
189 | 203 exportlist_t *exportlist; // list of exported symbols |
204 importlist_t *importlist; // list of imported symbols | |
190 char *list_file; // name of file to list to | 205 char *list_file; // name of file to list to |
191 char *output_file; // output file name | 206 char *output_file; // output file name |
192 lw_stringlist_t input_files; // files to assemble | 207 lw_stringlist_t input_files; // files to assemble |
193 void *input_data; // opaque data used by the input system | 208 void *input_data; // opaque data used by the input system |
194 lw_stringlist_t include_list; // include paths | 209 lw_stringlist_t include_list; // include paths |