Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1178324
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andreas Ruprecht <andreas.ruprecht@fau.de> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/2] kconfig: warn of unhandled characters in Kconfig commands |
| Date | Tue, 07 Jul 2015 12:40:02 +0200 |
| Message-ID | <pJysa-4vc-3@gated-at.bofh.it> (permalink) |
| X-Original-To | Ulf Magnusson <ulfalizer.lkml@gmail.com> |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 31 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Paul Bolle <pebolle@tiscali.nl>, Valentin Rothberg <valentinrothberg@gmail.com>, rafael.j.wysocki@intel.com, <linux-kbuild@vger.kernel.org>, <linux-kernel@vger.kernel.org>, hengelein Stefan <stefan.hengelein@fau.de>, linux@dominikbrodowski.net, Michal Marek <mmarek@suse.cz>, Andreas Ruprecht <andreas.ruprecht@fau.de> |
| X-Original-Date | Tue, 7 Jul 2015 12:31:15 +0200 |
| X-Original-Message-ID | <cover.1436264921.git.andreas.ruprecht@fau.de> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1178324 |
Show key headers only | View raw
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 '---help---' separately.
Andreas Ruprecht (2):
kconfig: warn of unhandled characters in Kconfig commands
kconfig: Regenerate shipped zconf.{hash,lex}.c files
scripts/kconfig/zconf.gperf | 1 +
scripts/kconfig/zconf.hash.c_shipped | 58 +++++++++--------
scripts/kconfig/zconf.l | 18 ++++--
scripts/kconfig/zconf.lex.c_shipped | 120 +++++++++++++++++++----------------
4 files changed, 110 insertions(+), 87 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/2] kconfig: warn of unhandled characters in Kconfig commands Andreas Ruprecht <andreas.ruprecht@fau.de> - 2015-07-07 12:40 +0200
[PATCH v2 2/2] kconfig: Regenerate shipped zconf.{hash,lex}.c files Andreas Ruprecht <andreas.ruprecht@fau.de> - 2015-07-07 12:40 +0200
csiph-web