From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755391AbbGCMr1 (ORCPT ); Fri, 3 Jul 2015 08:47:27 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:51791 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755333AbbGCMq4 (ORCPT ); Fri, 3 Jul 2015 08:46:56 -0400 From: Andreas Ruprecht To: Ulf Magnusson Cc: Paul Bolle , Valentin Rothberg , rafael.j.wysocki@intel.com, , , hengelein Stefan , linux@dominikbrodowski.net, Michal Marek , Andreas Ruprecht Subject: [PATCH 0/2] kconfig: warn of unhandled characters in statements Date: Fri, 3 Jul 2015 14:46:37 +0200 Message-Id: X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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