Lines Matching defs:block
31 int type; /* for above union: 1 = avrule block, 2 = conditional */
32 avrule_decl_t *decl; /* if in an avrule block, which
35 int in_else; /* if in an avrule block, within ELSE branch */
36 int require_given; /* 1 if this block had at least one require */
119 block will always have an id of 1 */
1307 avrule_block_t *block = NULL;
1310 /* allocate a new avrule block for this optional block */
1311 if ((block = avrule_block_create()) == NULL ||
1315 block->flags |= AVRULE_OPTIONAL;
1316 block->branch_list = decl;
1317 last_block->next = block;
1319 /* select the next block from the chain built during pass 1 */
1320 block = last_block->next;
1321 assert(block != NULL &&
1322 block->branch_list != NULL &&
1323 block->branch_list->decl_id == next_decl_id);
1324 decl = block->branch_list;
1326 if (push_stack(1, block, decl) == -1) {
1330 last_block = block;
1335 avrule_block_destroy(block);
1360 avrule block, built from pass 1 */
1422 * this block, for those places where a REQUIRED is necessary. During
1423 * pass 2, have this block inherit its parents' requirements. Return
1440 /* if this is base no require should be in the global block */
1444 yyerror("This block has no require section.");