else token = getName(in);
if(!strcmp("network", token)) {
t->network = 1;
+ }
} else if(!strcmp("write",token)) {
getEqual(in);
car = seekNextChar(in);
if(car == EOF) in->error(in,"write type was expected (custom?)");
else if(car == '\"') token = getQuotedString(in);
else token = getName(in);
- if(!strcmp("custom", token))
- t->network = 1;
+ if(!strcmp("custom", token)) {
+ t->custom_write = 1;
+ }
}
}
-
- }
}
/**************************************************************************
} else if(!strcmp("arch", token)) {
getEqual(in);
car = seekNextChar(in);
- if(car == '\"') fac->name = allocAndCopy(getQuotedString(in));
+ if(car == '\"') fac->arch = allocAndCopy(getQuotedString(in));
else fac->arch = allocAndCopy(getName(in));
}
}