public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation error for kconfig
@ 2003-01-11  5:21 Kevin P. Fleming
  0 siblings, 0 replies; only message in thread
From: Kevin P. Fleming @ 2003-01-11  5:21 UTC (permalink / raw)
  To: zippel, linux-kernel

Unless I'm not thinking clearly, the attached patch for 
Documentation/kbuild/kconfig-language.txt is in order. The min/max 
equivalences for the || and && operators are backwards...

(Apologies if Mozilla munges the patch... it's small enough to be easily 
recreatable anyway).

diff -X dontdiff -rN -U 15 
linux-2.5/Documentation/kbuild/kconfig-language.txt 
linux-2.5-new/Documentation/kbuild/kconfig-language.txt
--- linux-2.5/Documentation/kbuild/kconfig-language.txt	Wed Jan  1 
20:21:41 2003
+++ linux-2.5-new/Documentation/kbuild/kconfig-language.txt	Fri Jan 10 
22:08:23 2003
@@ -111,32 +111,32 @@
             '!' <expr>                           (5)
             <expr> '||' <expr>                   (6)
             <expr> '&&' <expr>                   (7)

  Expressions are listed in decreasing order of precedence.

  (1) Convert the symbol into an expression. Boolean and tristate symbols
      are simply converted into the respective expression values. All
      other symbol types result in 'n'.
  (2) If the values of both symbols are equal, it returns 'y',
      otherwise 'n'.
  (3) If the values of both symbols are equal, it returns 'n',
      otherwise 'y'.
  (4) Returns the value of the expression. Used to override precedence.
  (5) Returns the result of (2-/expr/).
-(6) Returns the result of min(/expr/, /expr/).
-(7) Returns the result of max(/expr/, /expr/).
+(6) Returns the result of max(/expr/, /expr/).
+(7) Returns the result of min(/expr/, /expr/).

  An expression can have a value of 'n', 'm' or 'y' (or 0, 1, 2
  respectively for calculations). A menu entry becomes visible when it's
  expression evaluates to 'm' or 'y'.

  There are two type of symbols: constant and nonconstant symbols.
  Nonconstant symbols are the most common ones and are defined with the
  'config' statement. Nonconstant symbols consist entirely of alphanumeric
  characters or underscores.
  Constant symbols are only part of expressions. Constant symbols are
  always surrounded by single or double quotes. Within the quote any
  other character is allowed and the quotes can be escaped using '\'.

  Menu structure
  --------------


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-11  5:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-11  5:21 [PATCH] Documentation error for kconfig Kevin P. Fleming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox