X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=config%2Fzconf.y;h=33a5f249a02b45d3a2f6ab37fd6cf45ecbcc3eda;hp=496bf27dd8ce97955eed182e6bd278accc07faa9;hb=a533e6af0ded950a3a649b94ed0de309129e7847;hpb=2396dc74a1e042ab9a4b063ba0916c04a65a9b08 diff --git a/config/zconf.y b/config/zconf.y index 496bf27..33a5f24 100644 --- a/config/zconf.y +++ b/config/zconf.y @@ -31,7 +31,7 @@ struct symbol *symbol_hash[SYMBOL_HASHSIZE]; static struct menu *current_menu, *current_entry; %} -%expect 31 +%expect 30 %union { @@ -117,7 +117,7 @@ start: mainmenu_stmt stmt_list | stmt_list; /* mainmenu entry */ -mainmenu_stmt: T_MAINMENU prompt nl +mainmenu_stmt: T_MAINMENU prompt T_EOL { menu_add_prompt(P_MENU, $2, NULL); };