36 #include "component.h"
37 #include "components.h"
60 if ((fd = fopen (file,
"r")) == NULL) {
62 file, strerror (errno));
71 if (fd != stdin) fclose (fd);
114 for (; values != NULL; values = values->
next) v->
add (values->
value);
141 for (pairs = def->
pairs; pairs != NULL; pairs = pairs->
next)
143 if (pairs->
value->
var && strcmp (pairs->
key,
"Param")) {
162 constant * c =
new constant (TAG_VECTOR);
190 for (pairs = def->
pairs; pairs != NULL; pairs = pairs->
next)
246 for (i = 0, nodes = def->
nodes; nodes; nodes = nodes->
next, i++)
247 if (i < c->getSize ())
251 for (pairs = def->
pairs; pairs != NULL; pairs = pairs->
next) {
252 if (pairs->
value == NULL) {
255 constant * c =
new constant (TAG_VECTOR);
277 constant * c =
new constant (TAG_VECTOR);
313 p->setDefault (
true);
319 p->setDefault (
true);
347 if (!strcmp (type,
"SUBST"))