lkml.org 
[lkml]   [2015]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Kconfig: '+config' valid syntax?
From
On Fri, Jul 3, 2015 at 1:33 PM, Andreas Ruprecht
<andreas.ruprecht@fau.de> wrote:
> On 07/03/2015 12:46, Ulf Magnusson wrote:
>>
>> Except for scattered accidents like in the original message, which are
>> hopefully pretty rare and easy to fix, the only documented thing that depends
>> on that lexer sloppiness is the ---help--- "token".
>>
>> I'd just add "---help---" as another T_HELP alias (or get rid of it altogether,
>> but that's probably more work than it's worth). Tightening things up should be
>> safe after that.
>>
>> /Ulf
>>
>
> So we might want to do something like the attached patch, right?
>
> Unfortunately, when I generate the zconf.{hash,lex,tab}.c files on my
> machine, they have some notable differences to the _shipped versions:
>
> ruprecht@box:linux-next$ diff -u zconf.tab.c zconf.tab.c_shipped
> - return yyresult;
> + /* Make sure YYID is used. */
> + return YYID (yyresult);
>
> and I can't find any Documentation on how to properly rebuild the
> _shipped files... Does anybody have a hint on that?
>
> Regards,
>
> Andreas

Yup, something like that. Been too long, so I don't remember either,
though I don't remember having to do anything special.

I'm heading off to bed soon, so probably shouldn't be thinking. Could
take a look tomorrow if there's still a problem. :)

/Ulf


\
 
 \ /
  Last update: 2015-07-03 14:01    [W:0.146 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site