Lines Matching refs:menu
31 static struct menu *current_menu, *current_entry;
42 struct menu *menu; member
87 %type <menu> if_entry menu_entry choice_entry
351 menu: T_MENU prompt T_EOL
358 menu_entry: menu visibility_list depends_list
606 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
608 struct symbol *sym = menu->sym; in print_symbol()
636 if (prop->menu != menu) in print_symbol()
680 if (menu->help) { in print_symbol()
681 int len = strlen(menu->help); in print_symbol()
682 while (menu->help[--len] == '\n') in print_symbol()
683 menu->help[len] = 0; in print_symbol()
684 fprintf(out, " help\n%s\n", menu->help); in print_symbol()
692 struct menu *menu; in zconfdump() local
694 menu = rootmenu.list; in zconfdump()
695 while (menu) { in zconfdump()
696 if ((sym = menu->sym)) in zconfdump()
697 print_symbol(out, menu); in zconfdump()
698 else if ((prop = menu->prompt)) { in zconfdump()
720 if (menu->list) in zconfdump()
721 menu = menu->list; in zconfdump()
722 else if (menu->next) in zconfdump()
723 menu = menu->next; in zconfdump()
724 else while ((menu = menu->parent)) { in zconfdump()
725 if (menu->prompt && menu->prompt->type == P_MENU) in zconfdump()
727 if (menu->next) { in zconfdump()
728 menu = menu->next; in zconfdump()