summaryrefslogtreecommitdiff
path: root/package/config/zconf.l
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-10-16 19:28:23 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-10-16 19:28:23 +0000
commit50548330b469addd6dff0e7c790e4c8491ce9b2d (patch)
tree4addf1b108136f52338b233bc59d6230fb089988 /package/config/zconf.l
parentfcb9d45a07b04e0285a005dec7cc4fec6127cc05 (diff)
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.
Diffstat (limited to 'package/config/zconf.l')
-rw-r--r--package/config/zconf.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/config/zconf.l b/package/config/zconf.l
index 13b5f5d0e..4a0447b9e 100644
--- a/package/config/zconf.l
+++ b/package/config/zconf.l
@@ -49,7 +49,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);
}