programs may not specify 'target' before 'action'

SVN revision: 12040
This commit is contained in:
tsauerbeck 2004-10-27 16:17:12 +00:00 committed by tsauerbeck
parent cbc6f32c54
commit 74f19082f8
1 changed files with 4 additions and 3 deletions

View File

@ -1995,9 +1995,10 @@ st_collections_group_programs_program_target(void)
data_queue_part_lookup(pc, name, &(et->id));
else
{
/* FIXME: not type specified. guess */
data_queue_part_lookup(pc, name, &(et->id));
data_queue_program_lookup(pc, name, &(et->id));
fprintf(stderr, "%s: Error. parse error %s:%i. "
"target may only be used after action\n",
progname, file_in, line - 1);
exit(-1);
}
free(name);
}