aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig/lex.zconf.c_shipped
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/lex.zconf.c_shipped')
-rw-r--r--scripts/kconfig/lex.zconf.c_shipped5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/kconfig/lex.zconf.c_shipped b/scripts/kconfig/lex.zconf.c_shipped
index b4792d344..5fc323de3 100644
--- a/scripts/kconfig/lex.zconf.c_shipped
+++ b/scripts/kconfig/lex.zconf.c_shipped
@@ -784,6 +784,11 @@ 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 error: Overlong line\n",
+ current_file->name, current_file->lineno);
+ }
+
if (new_size > text_asize) {
new_size += START_STRSIZE - 1;
new_size &= -START_STRSIZE;