svn commit: trunk/buildroot/package/config
Author: jacmet
Date: 2008-10-16 12:28:23 -0700 (Thu, 16 Oct 2008) New Revision: 23697
Log:
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.
Modified:
trunk/buildroot/package/config/lex.zconf.c_shipped trunk/buildroot/package/config/zconf.l
Changeset:
Modified: trunk/buildroot/package/config/lex.zconf.c_shipped
===================================================================
buildroot/package/config/lex.zconf.c_shipped +2 -1
@@ -815,7 +815,8 @@ 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); }
Modified: trunk/buildroot/package/config/zconf.l
===================================================================
buildroot/package/config/zconf.l +2 -1
@@ -49,7 +49,8 @@ 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); }