Messages in this thread | | | Subject | Re: Kconfig: '+config' valid syntax? | From | Paul Bolle <> | Date | Fri, 03 Jul 2015 13:00:49 +0200 |
| |
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
| |