aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorEGRY Gabor <gaboregry1@t-online.hu>2008-01-11 17:55:20 -0500
committerSam Ravnborg <sam@ravnborg.org>2008-01-28 17:14:38 -0500
commitf7a4b4cdc26846a0ac5b3023cb1b97dc632dfd35 (patch)
tree217381c9886845429e6fc2b5b25947aafe3190e2 /scripts/kconfig
parent1020026f99069976001816b8198bc04ee342cd2e (diff)
kconfig: whitespace removing
This patch removes the unnecessary whitespaces from end of help lines of Kconfig files. Signed-off-by: Egry Gabor <gaboregry1@t-online.hu> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Roman Zippel <zippel@linux-m68k.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/lex.zconf.c_shipped5
-rw-r--r--scripts/kconfig/zconf.l5
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/kconfig/lex.zconf.c_shipped b/scripts/kconfig/lex.zconf.c_shipped
index a065d5a57c0..bed0f4e2d2f 100644
--- a/scripts/kconfig/lex.zconf.c_shipped
+++ b/scripts/kconfig/lex.zconf.c_shipped
@@ -1275,6 +1275,11 @@ YY_RULE_SETUP
1275case 32: 1275case 32:
1276YY_RULE_SETUP 1276YY_RULE_SETUP
1277{ 1277{
1278 while (zconfleng) {
1279 if ((zconftext[zconfleng-1] != ' ') && (zconftext[zconfleng-1] != '\t'))
1280 break;
1281 zconfleng--;
1282 }
1278 append_string(zconftext, zconfleng); 1283 append_string(zconftext, zconfleng);
1279 if (!first_ts) 1284 if (!first_ts)
1280 first_ts = last_ts; 1285 first_ts = last_ts;
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l
index 187d38ccadd..4cea5c85cd0 100644
--- a/scripts/kconfig/zconf.l
+++ b/scripts/kconfig/zconf.l
@@ -217,6 +217,11 @@ n [A-Za-z0-9_]
217 append_string("\n", 1); 217 append_string("\n", 1);
218 } 218 }
219 [^ \t\n].* { 219 [^ \t\n].* {
220 while (yyleng) {
221 if ((yytext[yyleng-1] != ' ') && (yytext[yyleng-1] != '\t'))
222 break;
223 yyleng--;
224 }
220 append_string(yytext, yyleng); 225 append_string(yytext, yyleng);
221 if (!first_ts) 226 if (!first_ts)
222 first_ts = last_ts; 227 first_ts = last_ts;