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)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:27:03 +0000 (22:27 +0100)
commita533e6af0ded950a3a649b94ed0de309129e7847
treea274d08900b7f1a82b2eba33c7a7024810ce13cf
parent2396dc74a1e042ab9a4b063ba0916c04a65a9b08
kconfig: fix the rule of mainmenu_stmt symbol

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: Christian Lamparter <chunkeey@gmail.com>
config/zconf.y