OSDN Git Service

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)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 Aug 2018 03:04:51 +0000 (12:04 +0900)
commit56869d45e364244a721de34ce9c5dc9ed022779e
treee19a163afed59f0187fbbc07783eb5cbb69157a0
parent47f38ae08df0aebb0e43fca50bf380aefea1f4d1
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>
scripts/kconfig/zconf.y