Lines Matching refs:menu
31 static struct menu *current_menu, *current_entry;
42 struct menu *menu; member
98 %type <menu> if_entry menu_entry choice_entry
368 menu: T_MENU prompt T_EOL
375 menu_entry: menu visibility_list depends_list
646 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
648 struct symbol *sym = menu->sym; in print_symbol()
676 if (prop->menu != menu) in print_symbol()
729 if (menu->help) { in print_symbol()
730 int len = strlen(menu->help); in print_symbol()
731 while (menu->help[--len] == '\n') in print_symbol()
732 menu->help[len] = 0; in print_symbol()
733 fprintf(out, " help\n%s\n", menu->help); in print_symbol()
741 struct menu *menu; in zconfdump() local
743 menu = rootmenu.list; in zconfdump()
744 while (menu) { in zconfdump()
745 if ((sym = menu->sym)) in zconfdump()
746 print_symbol(out, menu); in zconfdump()
747 else if ((prop = menu->prompt)) { in zconfdump()
769 if (menu->list) in zconfdump()
770 menu = menu->list; in zconfdump()
771 else if (menu->next) in zconfdump()
772 menu = menu->next; in zconfdump()
773 else while ((menu = menu->parent)) { in zconfdump()
774 if (menu->prompt && menu->prompt->type == P_MENU) in zconfdump()
776 if (menu->next) { in zconfdump()
777 menu = menu->next; in zconfdump()