static NODE *parse_cmd_matches TAC_ARGS((void));
static NODE *parse_attrs TAC_ARGS((void));
static void getsym TAC_ARGS((void));
-static ENTITY *new_entity TAC_ARGS((int type, char *name, int line));
static enum eval_result entity_svc_default TAC_ARGS((ENTITY *entity));
item->child = NULL; /* don't free string ref'ed from 'child_entity'! */
}
- enlist_entity_direct(parent_entity, child_entity, item->when);
+ if (!enlist_entity_direct(parent_entity, child_entity, item->when))
+ return (1); /* entities not found */
enlist_entity_list = item->next;
item->when = NULL;
/* passed 'name' WILL be directly stored to returned ENTITY, don't touch it! */
-static ENTITY *new_entity TAC_ARGS((int type, char *name, int line));
+ENTITY *new_entity TAC_ARGS((int type, char *name, int line));
-static ENTITY *
+ENTITY *
new_entity(type, name, line)
int type;
char *name;