Commit f7a4b4cd authored by EGRY Gabor's avatar EGRY Gabor Committed by Sam Ravnborg

kconfig: whitespace removing

This patch removes the unnecessary whitespaces from
end of help lines of Kconfig files.
Signed-off-by: default avatarEgry Gabor <gaboregry1@t-online.hu>
Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
parent 1020026f
...@@ -1275,6 +1275,11 @@ YY_RULE_SETUP ...@@ -1275,6 +1275,11 @@ YY_RULE_SETUP
case 32: case 32:
YY_RULE_SETUP YY_RULE_SETUP
{ {
while (zconfleng) {
if ((zconftext[zconfleng-1] != ' ') && (zconftext[zconfleng-1] != '\t'))
break;
zconfleng--;
}
append_string(zconftext, zconfleng); append_string(zconftext, zconfleng);
if (!first_ts) if (!first_ts)
first_ts = last_ts; first_ts = last_ts;
......
...@@ -217,6 +217,11 @@ n [A-Za-z0-9_] ...@@ -217,6 +217,11 @@ n [A-Za-z0-9_]
append_string("\n", 1); append_string("\n", 1);
} }
[^ \t\n].* { [^ \t\n].* {
while (yyleng) {
if ((yytext[yyleng-1] != ' ') && (yytext[yyleng-1] != '\t'))
break;
yyleng--;
}
append_string(yytext, yyleng); append_string(yytext, yyleng);
if (!first_ts) if (!first_ts)
first_ts = last_ts; first_ts = last_ts;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment