Skip to content
Commit a7d4f58e authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: fix missing '# end of' for empty menu



Currently, "# end of ..." is inserted when the menu goes back to its
parent.

Hence, an empty menu:

  menu "Foo"
  endmenu

... ends up with unbalanced menu comments, like this:

  #
  # Foo
  #

Let's close the menu comments properly:

  #
  # Foo
  #
  # end of Foo

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 868653f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment