Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-02-14 11:55:46 +0100
committerTakashi Iwai <tiwai@suse.de>2019-02-14 11:55:47 +0100
commit969225c3d19ca8ce0d612334b4c5b10e78850da2 (patch)
tree18b1f6cecf1298464eff1c04f67ca17c08b5e708
parent4c0ca52fbb6d94b863ecac913c161c659d333f6b (diff)
kconfig: fix line numbers for if-entries in menu tree
(bsc#1051510). suse-commit: 9444514e6c16c383abe13da144bc783dee7d38ef
-rw-r--r--scripts/kconfig/zconf.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y
index c56f7e549980..5a9eba3ccc60 100644
--- a/scripts/kconfig/zconf.y
+++ b/scripts/kconfig/zconf.y
@@ -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);