You are forbidden to forbid anyone else to use, share and improve
what you give them. Help stamp out software-hoarding!
-------------------------------------------------------------------------*/
-#include "SDCCsymt.h"
#ifndef SDCCVAL_H
#define SDCCVAL_H
+#include "SDCCsymt.h"
+
/* value wrapper */
typedef struct value
{
{
int type;
int lineno;
+ char *filename;
union
{
struct ast *node;
double list2int (initList *);
value *list2val (initList *);
struct ast *list2expr (initList *);
-void resolveIvalSym (initList *);
+void resolveIvalSym (initList *, sym_link *);
value *valFromType (sym_link *);
value *constFloatVal (char *);
int getNelements (sym_link *, initList *);