linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] kconfig: warn of unhandled characters in statements
@ 2015-07-03 12:46 Andreas Ruprecht
  2015-07-03 12:46 ` [PATCH 1/2] kconfig: also " Andreas Ruprecht
  2015-07-03 12:46 ` [PATCH 2/2] kconfig: Regenerate shipped zconf.lex.c file Andreas Ruprecht
  0 siblings, 2 replies; 8+ messages in thread
From: Andreas Ruprecht @ 2015-07-03 12:46 UTC (permalink / raw)
  To: Ulf Magnusson
  Cc: Paul Bolle, Valentin Rothberg, rafael.j.wysocki, linux-kbuild,
	linux-kernel, hengelein Stefan, linux, Michal Marek,
	Andreas Ruprecht

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-08 20:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-03 12:46 [PATCH 0/2] kconfig: warn of unhandled characters in statements Andreas Ruprecht
2015-07-03 12:46 ` [PATCH 1/2] kconfig: also " Andreas Ruprecht
2015-07-04  9:33   ` Paul Bolle
2015-07-05  6:44     ` Ulf Magnusson
2015-07-05  6:06   ` Ulf Magnusson
     [not found]     ` <559BA09A.2030603@fau.de>
     [not found]       ` <20150707144559.GA12760@huvuddator>
2015-07-08 10:17         ` Andreas Ruprecht
2015-07-08 20:18           ` Ulf Magnusson
2015-07-03 12:46 ` [PATCH 2/2] kconfig: Regenerate shipped zconf.lex.c file Andreas Ruprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).