Lines Matching refs:menu
32 static struct menu *current_menu, *current_entry;
47 struct menu *menu; member
92 %type <menu> if_entry menu_entry choice_entry
356 menu: T_MENU prompt T_EOL
363 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()
689 if (menu->help) { in print_symbol()
690 int len = strlen(menu->help); in print_symbol()
691 while (menu->help[--len] == '\n') in print_symbol()
692 menu->help[len] = 0; in print_symbol()
693 fprintf(out, " help\n%s\n", menu->help); in print_symbol()
701 struct menu *menu; in zconfdump() local
703 menu = rootmenu.list; in zconfdump()
704 while (menu) { in zconfdump()
705 if ((sym = menu->sym)) in zconfdump()
706 print_symbol(out, menu); in zconfdump()
707 else if ((prop = menu->prompt)) { in zconfdump()
729 if (menu->list) in zconfdump()
730 menu = menu->list; in zconfdump()
731 else if (menu->next) in zconfdump()
732 menu = menu->next; in zconfdump()
733 else while ((menu = menu->parent)) { in zconfdump()
734 if (menu->prompt && menu->prompt->type == P_MENU) in zconfdump()
736 if (menu->next) { in zconfdump()
737 menu = menu->next; in zconfdump()