198 |
|
strcpy(sbuf, "EOF"); |
199 |
|
fgetword(sbuf, MAXSTR, fp); |
200 |
|
ob.omod = 0; /* use ob.os for pointer to material */ |
201 |
< |
if (!strcmp(sbuf, VOIDID)) |
201 |
> |
if (!strcmp(sbuf, VOIDID) || !strcmp(sbuf, ALIASMOD)) |
202 |
|
ob.os = NULL; |
203 |
|
else |
204 |
|
ob.os = (char *)getmatp(sbuf); |
205 |
|
/* get type */ |
206 |
|
strcpy(sbuf, "EOF"); |
207 |
|
fgetword(sbuf, MAXSTR, fp); |
208 |
< |
if (!strcmp(sbuf, ALIASID)) |
209 |
< |
ob.otype = -1; |
210 |
< |
else if ((ob.otype = otype(sbuf)) < 0) { |
208 |
> |
if ((ob.otype = otype(sbuf)) < 0) { |
209 |
|
sprintf(errmsg, "(%s): unknown type \"%s\"", name, sbuf); |
210 |
|
error(USER, errmsg); |
211 |
|
} |
214 |
|
fgetword(sbuf, MAXSTR, fp); |
215 |
|
ob.oname = sbuf; |
216 |
|
/* get arguments */ |
217 |
< |
if (ob.otype == -1) { |
217 |
> |
if (ob.otype == MOD_ALIAS) { |
218 |
|
char sbuf2[MAXSTR]; /* get alias */ |
219 |
|
strcpy(sbuf2, "EOF"); |
220 |
|
fgetword(sbuf2, MAXSTR, fp); |