Lines Matching refs:menu
31 static struct menu *current_menu, *current_entry;
42 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
608 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
610 struct symbol *sym = menu->sym; in print_symbol()
638 if (prop->menu != menu) in print_symbol()
682 if (menu->help) { in print_symbol()
683 int len = strlen(menu->help); in print_symbol()
684 while (menu->help[--len] == '\n') in print_symbol()
685 menu->help[len] = 0; in print_symbol()
686 fprintf(out, " help\n%s\n", menu->help); in print_symbol()
694 struct menu *menu; in zconfdump() local
696 menu = rootmenu.list; in zconfdump()
697 while (menu) { in zconfdump()
698 if ((sym = menu->sym)) in zconfdump()
699 print_symbol(out, menu); in zconfdump()
700 else if ((prop = menu->prompt)) { in zconfdump()
722 if (menu->list) in zconfdump()
723 menu = menu->list; in zconfdump()
724 else if (menu->next) in zconfdump()
725 menu = menu->next; in zconfdump()
726 else while ((menu = menu->parent)) { in zconfdump()
727 if (menu->prompt && menu->prompt->type == P_MENU) in zconfdump()
729 if (menu->next) { in zconfdump()
730 menu = menu->next; in zconfdump()