G'day,

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


diff -ruN linux-2.5.20-orig/arch/mips64/config.in linux-2.5.20/arch/mips64/config.in
--- linux-2.5.20-orig/arch/mips64/config.in     Mon Jun  3 18:54:51 2002
+++ linux-2.5.20/arch/mips64/config.in  Mon Jun 10 18:01:01 2002
@@ -10,7 +10,7 @@
 comment 'Machine selection'
 choice 'Machine type'                                          \
        "SGI-IP22,Indy/Indigo2 CONFIG_SGI_IP22                  \
-        SGI-IP27,Origin200/2000 CONFIG_SGI_IP27 SGI-IP27,Origin200/2000"
+        SGI-IP27,Origin200/2000 CONFIG_SGI_IP27" SGI-IP27,Origin200/2000
 
 if [ "$CONFIG_SGI_IP27" = "y" ]; then
    bool '  IP27 N-Mode' CONFIG_SGI_SN0_N_MODE


Greg.
-- 
the price of civilisation today is a courageous willingness to prevail,
with force, if necessary, against whatever vicious and uncomprehending
enemies try to strike it down.     - Roger Sandall, The Age, 28Sep2001.

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to