Re: [PATCH] kconfig: Sync zconf.y with zconf.tab.c_shipped

From: Ulf Magnusson
Date: Fri Jan 12 2018 - 06:23:59 EST


On Tue, Dec 12, 2017 at 3:58 PM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
> 2017-10-05 12:06 GMT+09:00 Ulf Magnusson <ulfalizer@xxxxxxxxx>:
>> Looks like a change to a comment in zconf.y was never committed, because
>> the updated version only appears it zconf.tab.c_shipped. Update the
>> comment in zconf.y to match.
>>
>> Signed-off-by: Ulf Magnusson <ulfalizer@xxxxxxxxx>
>> ---
>> scripts/kconfig/zconf.y | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y
>> index c8f396c..4b2cf41 100644
>> --- a/scripts/kconfig/zconf.y
>> +++ b/scripts/kconfig/zconf.y
>> @@ -101,7 +101,7 @@ static struct menu *current_menu, *current_entry;
>> } if_entry menu_entry choice_entry
>>
>> %{
>> -/* Include zconf_id.c here so it can see the token constants. */
>> +/* Include kconf_id.c here so it can see the token constants. */
>> #include "kconf_id.c"
>> %}
>
>
> Applied to linux-kbuild/kconfig.
> Thanks!
>
> BTW, I do not know the historical reason
> why zconf instead of kconf in the first place...

I have no idea either. kconfig.{l,y} and kconfig_*() would be a lot
less confusing.

Cheers,
Ulf