From 50548330b469addd6dff0e7c790e4c8491ce9b2d Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 16 Oct 2008 19:28:23 +0000 Subject: kconfig: only warn about long help lines, not other types of lines We have some pretty long depends / default y|n lines in BR, which it shouldn't complain about. --- package/config/lex.zconf.c_shipped | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/config/lex.zconf.c_shipped') diff --git a/package/config/lex.zconf.c_shipped b/package/config/lex.zconf.c_shipped index aea5276e6..f1975f884 100644 --- a/package/config/lex.zconf.c_shipped +++ b/package/config/lex.zconf.c_shipped @@ -815,7 +815,8 @@ void new_string(void) void append_string(const char *str, int size) { int new_size = text_size + size + 1; - if (size > 70) { + + if ((YY_START == 2 /* HELP */) && (size > 70)) { fprintf (stderr, "%s:%d warning: Overlong line\n", current_file->name, current_file->lineno); } -- cgit v1.2.3