]> git.neil.brown.name Git - history.git/commit
[PATCH] PATCH: kconfig choice defaults (2_2)
authorGreg Banks <gnb@alphalink.com.au>
Thu, 20 Jun 2002 06:50:53 +0000 (23:50 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 20 Jun 2002 06:50:53 +0000 (23:50 -0700)
commit89516f4e4729eec61aab676ef5eb11badefaad91
treebf14fb306a98c50360df3361aa66689e830fa9af
parent36b6758f62abbd158c8ebea75d07eac5327f8eb2
[PATCH] PATCH: kconfig choice defaults (2_2)

The format for the "choice" statement is:

  choice 'prompt' "{sub-prompt sub-symbol}*" default-value

and the following is *not* legal config language (note the
positioning of the closing double quote):

  choice 'prompt' "{sub-prompt sub-symbol}* default-value"

It only happens to work because of a combination of accidental
side effects of the current parsers:

  *   unpaired sub-words inside the 2nd word are silently ignored
  *   the missing last word is silently treated as if empty
arch/mips64/config.in