Lines Matching refs:menu
31 static struct menu *current_menu, *current_entry;
40 struct menu *menu; member
100 %type <menu> if_entry menu_entry choice_entry
337 menu: T_MENU prompt T_EOL
344 menu_entry: menu menu_option_list
592 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
594 struct symbol *sym = menu->sym; in print_symbol()
622 if (prop->menu != menu) in print_symbol()
675 if (menu->help) { in print_symbol()
676 int len = strlen(menu->help); in print_symbol()
677 while (menu->help[--len] == '\n') in print_symbol()
678 menu->help[len] = 0; in print_symbol()
679 fprintf(out, " help\n%s\n", menu->help); in print_symbol()
687 struct menu *menu; in zconfdump() local
689 menu = rootmenu.list; in zconfdump()
690 while (menu) { in zconfdump()
691 if ((sym = menu->sym)) in zconfdump()
692 print_symbol(out, menu); in zconfdump()
693 else if ((prop = menu->prompt)) { in zconfdump()
715 if (menu->list) in zconfdump()
716 menu = menu->list; in zconfdump()
717 else if (menu->next) in zconfdump()
718 menu = menu->next; in zconfdump()
719 else while ((menu = menu->parent)) { in zconfdump()
720 if (menu->prompt && menu->prompt->type == P_MENU) in zconfdump()
722 if (menu->next) { in zconfdump()
723 menu = menu->next; in zconfdump()