summaryrefslogtreecommitdiffstats
path: root/package/config/zconf.l
diff options
context:
space:
mode:
Diffstat (limited to 'package/config/zconf.l')
-rw-r--r--package/config/zconf.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/config/zconf.l b/package/config/zconf.l
index 187d38cca..13b5f5d0e 100644
--- a/package/config/zconf.l
+++ b/package/config/zconf.l
@@ -49,6 +49,10 @@ void new_string(void)
void append_string(const char *str, int size)
{
int new_size = text_size + size + 1;
+ if (size > 70) {
+ fprintf (stderr, "%s:%d warning: Overlong line\n",
+ current_file->name, current_file->lineno);
+ }
if (new_size > text_asize) {
new_size += START_STRSIZE - 1;
new_size &= -START_STRSIZE;