X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=config%2Fzconf.y;h=0599a847cf88f11a7f124f3dcd884d17d85b1469;hp=a4b17758bf1013422d0ea624ebd604092d236c89;hb=1e015f2575b9d43c0106ab0392ba8c02fa8e9370;hpb=3aac2a9540ce3501a24d542209eb67d0a9e6571e diff --git a/config/zconf.y b/config/zconf.y index a4b1775..0599a84 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 32 +%expect 31 %union { @@ -337,7 +337,7 @@ choice_block: /* if entry */ -if_entry: T_IF expr nl +if_entry: T_IF expr T_EOL { printd(DEBUG_PARSE, "%s:%d:if\n", zconf_curname(), zconf_lineno()); menu_add_entry(NULL);