lkml.org 
[lkml]   [2015]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] kconfig: warn of unhandled characters in statements
Date
This patchset changes the lexer file to emit a warning if any unhandled
characters are found in the input. So far, Kconfig options like

+config FOO
bool
[...]

(note the wrong '+'!) were parsed without a warning. As simply adding a
warning for '.' produces lots of warnings as occasionally '---help---'
is used instead of 'help' (and thus '-' is recognized as an unhandled
character), we need to handle the former separately.

Andreas Ruprecht (2):
kconfig: also warn of unhandled characters in statements
kconfig: Regenerate shipped zconf.lex.c file

scripts/kconfig/zconf.l | 11 +-
scripts/kconfig/zconf.lex.c_shipped | 453 +++++++++++++++++++++++++-----------
2 files changed, 322 insertions(+), 142 deletions(-)

--
1.9.1



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