Lines Matching refs:menu
31 static struct menu *current_menu, *current_entry;
42 struct menu *menu; member
93 %type <menu> if_entry menu_entry choice_entry
363 menu: T_MENU prompt T_EOL
370 menu_entry: menu visibility_list depends_list
615 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
617 struct symbol *sym = menu->sym; in print_symbol()
645 if (prop->menu != menu) in print_symbol()
694 if (menu->help) { in print_symbol()
695 int len = strlen(menu->help); in print_symbol()
696 while (menu->help[--len] == '\n') in print_symbol()
697 menu->help[len] = 0; in print_symbol()
698 fprintf(out, " help\n%s\n", menu->help); in print_symbol()
706 struct menu *menu; in zconfdump() local
708 menu = rootmenu.list; in zconfdump()
709 while (menu) { in zconfdump()
710 if ((sym = menu->sym)) in zconfdump()
711 print_symbol(out, menu); in zconfdump()
712 else if ((prop = menu->prompt)) { in zconfdump()
734 if (menu->list) in zconfdump()
735 menu = menu->list; in zconfdump()
736 else if (menu->next) in zconfdump()
737 menu = menu->next; in zconfdump()
738 else while ((menu = menu->parent)) { in zconfdump()
739 if (menu->prompt && menu->prompt->type == P_MENU) in zconfdump()
741 if (menu->next) { in zconfdump()
742 menu = menu->next; in zconfdump()