]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - scripts/kconfig/zconf.y
kconfig: fix line numbers for if-entries in menu tree
[mirror_ubuntu-bionic-kernel.git] / scripts / kconfig / zconf.y
index 20d9caa4be990a69bd060e0e514421c9af041041..126e3f2e1ed74be7ed364f0441b021bb743c8dcc 100644 (file)
@@ -31,7 +31,7 @@ struct symbol *symbol_hash[SYMBOL_HASHSIZE];
 static struct menu *current_menu, *current_entry;
 
 %}
-%expect 32
+%expect 31
 
 %union
 {
@@ -345,7 +345,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);