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
599 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
601 struct symbol *sym = menu->sym; in print_symbol()
629 if (prop->menu != menu) in print_symbol()
673 if (menu->help) { in print_symbol()
674 int len = strlen(menu->help); in print_symbol()
675 while (menu->help[--len] == '\n') in print_symbol()
676 menu->help[len] = 0; in print_symbol()
677 fprintf(out, " help\n%s\n", menu->help); in print_symbol()
685 struct menu *menu; in zconfdump() local
687 menu = rootmenu.list; in zconfdump()
688 while (menu) { in zconfdump()
689 if ((sym = menu->sym)) in zconfdump()
690 print_symbol(out, menu); in zconfdump()
691 else if ((prop = menu->prompt)) { in zconfdump()
713 if (menu->list) in zconfdump()
714 menu = menu->list; in zconfdump()
715 else if (menu->next) in zconfdump()
716 menu = menu->next; in zconfdump()
717 else while ((menu = menu->parent)) { in zconfdump()
718 if (menu->prompt && menu->prompt->type == P_MENU) in zconfdump()
720 if (menu->next) { in zconfdump()
721 menu = menu->next; in zconfdump()