Mercurial > hg > CbC > old > device
comparison mc-parse.h @ 779:a0f84a0a990a
float value sharing
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 19 Nov 2010 14:09:56 +0900 |
parents | 5fad4649bed8 |
children | a5f9e5a4db1b |
comparison
equal
deleted
inserted
replaced
778:a177c65f3e37 | 779:a0f84a0a990a |
---|---|
169 extern int attr_value_in_list(int list,int attr); | 169 extern int attr_value_in_list(int list,int attr); |
170 | 170 |
171 | 171 |
172 /* used in mc-macro.c */ | 172 /* used in mc-macro.c */ |
173 | 173 |
174 typedef union { | |
175 double d; float f; int i; long l; long long ll; char c; | |
176 } Value, *ValuePtr; | |
177 | |
174 extern struct cheap *cheap; | 178 extern struct cheap *cheap; |
175 extern struct cheap *st_cheap, *cheap1; // for ST_COMMENT | 179 extern struct cheap *st_cheap, *cheap1; // for ST_COMMENT |
176 | 180 |
177 extern NMTBL *get_name(char *name,int *i,int mode); | 181 extern NMTBL *get_name(char *name,int *i,int mode); |
182 extern NMTBL * get_data(ValuePtr name,int len, int mode); | |
183 extern int get_data_label(ValuePtr name,int len, void emit(ValuePtr, int , void *), void *arg); | |
184 | |
178 #define DEF 1 | 185 #define DEF 1 |
179 #define NONDEF 2 | 186 #define NONDEF 2 |
180 | 187 |
181 extern NMTBL * get_name_from_chptr(); | 188 extern NMTBL * get_name_from_chptr(); |
182 extern NMTBL *name_space_search(NMTBL *ns,int sc); | 189 extern NMTBL *name_space_search(NMTBL *ns,int sc); |