Commit 2e0d737f authored by Jan Beulich's avatar Jan Beulich Committed by Michal Marek

kconfig: don't silently ignore unhandled characters

At the very least we should tell people that what they wrote is not
what the utility understands.
Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Acked-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent fa75a727
......@@ -141,7 +141,12 @@ n [A-Za-z0-9_]
}
#.* /* comment */
\\\n current_file->lineno++;
.
[[:blank:]]+
. {
fprintf(stderr,
"%s:%d:warning: ignoring unsupported character '%c'\n",
zconf_curname(), zconf_lineno(), *yytext);
}
<<EOF>> {
BEGIN(INITIAL);
}
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment