54 name = n ? strdup (n) : NULL;
67 name = n ? strdup (n) : NULL;
68 str = val ? strdup (val) : NULL;
80 name = n ? strdup (n) : NULL;
93 name = n ? strdup (n) : NULL;
106 name = p.name ? strdup (p.name) : NULL;
107 str = p.str ? strdup (p.str) : NULL;
109 txt = p.txt ? strdup (p.txt) : NULL;
120 if (c->getType () == TAG_VECTOR) {
126 if (name) free (name);
133 if (name) free (name);
134 name = n ? strdup (n) : NULL;
147 if (!strcmp (p->getName (),
n))
return p;
153 #define D(con) ((constant *) (con))->d
154 #define S(con) ((constant *) (con))->s
155 #define V(con) ((constant *) (con))->v
176 if (var != NULL)
return var->
getName ();
194 return (
int)
floor (value);
219 str = val ? strdup (val) : NULL;
228 txt = strdup (
"(no such type)");
231 sprintf (text,
"%d", (
int)
floor (value));
238 sprintf (text,
"%g", (
double) value);
242 sprintf (text,
"%s", var->
getName ());