[kbuild-devel] Re: [patch 1/1] kconfig: trivial cleanup

2005-05-31 Thread Roman Zippel
Hi,

On Sun, 29 May 2005 [EMAIL PROTECTED] wrote:

 If you want, I'll do one patch update the included version to 2.0 Bison (which
 uses an updated skeleton) and then, separately, a patch updating
 zconf.tab.c_shipped to reflect the updated zconf.y.

I'd prefer to patch the changes into zconf.tab.c_shipped directly. At some 
point it should be regenerated, but I'd like to avoid it and only do it if 
the parser itself needs a change.

bye, Roman


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


[kbuild-devel] Re: [2.6 patch] Kconfig: rename ---help--- to help in Kconfig files (first part) (fwd)

2005-05-31 Thread Roman Zippel
Hi,

On Tue, 31 May 2005, Adrian Bunk wrote:

 there's still the point that it's currently used inconsistently.

Why is it so important to fix this inconsistency?
Why is it so difficult to accept that both are valid options?

bye, Roman


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel


[kbuild-devel] Re: [patch 1/1] kconfig: trivial cleanup

2005-05-31 Thread Roman Zippel
Hi,

On Tue, 31 May 2005, Blaisorblade wrote:

 I can regenerate it only with bison 2.0, since that's what I have installed. 
 So if you don't want it to be regenerated, you cannot accept my patch. I 
 proposed sending two patches to avoid mixing the bison changes with this 
 patch changes, that's all.

What I meant is a patch like this:

Index: linux-2.6-mm/scripts/kconfig/zconf.tab.c_shipped
===
--- linux-2.6-mm.orig/scripts/kconfig/zconf.tab.c_shipped   2005-03-16 
13:47:36.0 +0100
+++ linux-2.6-mm/scripts/kconfig/zconf.tab.c_shipped2005-06-01 
01:48:19.0 +0200
@@ -1531,7 +1531,7 @@ yyreduce:
 
 {
menu_add_entry(NULL);
-   menu_add_prop(P_MENU, yyvsp[-1].string, NULL, NULL);
+   menu_add_prompt(P_MENU, yyvsp[-1].string, NULL);
printd(DEBUG_PARSE, %s:%d:menu\n, zconf_curname(), zconf_lineno());
 ;}
 break;
@@ -1586,7 +1586,7 @@ yyreduce:
 
 {
menu_add_entry(NULL);
-   menu_add_prop(P_COMMENT, yyvsp[-1].string, NULL, NULL);
+   menu_add_prompt(P_COMMENT, yyvsp[-1].string, NULL);
printd(DEBUG_PARSE, %s:%d:comment\n, zconf_curname(), zconf_lineno());
 ;}
 break;
@@ -1640,7 +1640,7 @@ yyreduce:
   case 86:
 
 {
-   menu_add_prop(P_PROMPT, yyvsp[-1].string, NULL, yyvsp[0].expr);
+   menu_add_prompt(P_PROMPT, yyvsp[-1].string, yyvsp[0].expr);
 ;}
 break;
 
@@ -1925,7 +1925,7 @@ void conf_parse(const char *name)
sym_init();
menu_init();
modules_sym = sym_lookup(MODULES, 0);
-   rootmenu.prompt = menu_add_prop(P_MENU, Linux Kernel Configuration, 
NULL, NULL);
+   rootmenu.prompt = menu_add_prompt(P_MENU, Linux Kernel Configuration, 
NULL);
 
//zconfdebug = 1;
zconfparse();

bye, Roman


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel