Lines Matching refs:parent
51 menu->parent = current_menu;
74 current_menu = current_menu->parent;
228 void menu_finalize(struct menu *parent)
235 sym = parent->sym;
236 if (parent->list) {
239 for (menu = parent->list; menu; menu = menu->next) {
241 current_entry = parent;
249 } else if (parent->prompt)
250 parentdep = parent->prompt->visible.expr;
252 parentdep = parent->dep;
254 for (menu = parent->list; menu; menu = menu->next) {
279 for (menu = parent->list; menu; menu = menu->next)
282 basedep = parent->prompt ? parent->prompt->visible.expr : NULL;
286 for (menu = parent->next; menu; menu = menu->next) {
304 menu->parent = parent;
308 parent->list = parent->next;
309 parent->next = last_menu->next;
313 for (menu = parent->list; menu; menu = menu->next) {
339 last_menu->parent = parent;
351 menu_warn(parent, "config symbol defined without type");
353 if (sym_is_choice(sym) && !parent->prompt)
354 menu_warn(parent, "choice must have a prompt");
361 if (sym && !sym_is_optional(sym) && parent->prompt) {
363 expr_alloc_and(parent->prompt->visible.expr,
412 for (; menu != &rootmenu; menu = menu->parent) {