kconfig: fix the rule of mainmenu_stmt symbol
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 9 Aug 2018 06:47:06 +0000 (15:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Nov 2018 13:52:45 +0000 (14:52 +0100)
commit48f1b3b56ee4f936c105b550ca4357722d6460da
tree0e12ed719baf0ee61e5a4a6aa70e670f94c20cee
parentcbc38304947ea2e57440bb38b733613e3f003605
kconfig: fix the rule of mainmenu_stmt symbol

[ Upstream commit 56869d45e364244a721de34ce9c5dc9ed022779e ]

The rule of mainmenu_stmt does not have debug print of zconf_lineno(),
but if it had, it would print a wrong line number for the same reason
as commit b2d00d7c61c8 ("kconfig: fix line numbers for if-entries in
menu tree").

The mainmenu_stmt does not need to eat following empty lines because
they are reduced to common_stmt.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/kconfig/zconf.y