Re: Kconfig: '+config' valid syntax?
From: Paul Bolle
Date: Fri Jul 03 2015 - 07:01:04 EST
On vr, 2015-07-03 at 12:46 +0200, Ulf Magnusson wrote:
> Except for scattered accidents like in the original message, which are
> hopefully pretty rare and easy to fix,
Correct.
> the only documented thing that depends
> on that lexer sloppiness is the ---help--- "token".
>
> I'd just add "---help---" as another T_HELP alias
Which implies dropping the empty rule for "---", right?
> (or get rid of it altogether,
> but that's probably more work than it's worth).
$git grep -e "---help---" -- "*Kconfig*" | wc -l
2590
Doable. Might not make you friends.
> Tightening things up should be safe after that.
Did you already try adding ---help--- (and something similar to Andreas'
check for the mistake we're discussing here)?
Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/