mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
kconfig: whitespace removing
This patch removes the unnecessary whitespaces from end of help lines of Kconfig files. Signed-off-by: Egry Gabor <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Cc: Roman Zippel <[email protected]>
This commit is contained in:
1 parent
1020026f99
commit
f7a4b4cdc2
2 files changed
+10
No files matched your search
@@ -1275,6 +1275,11 @@ YY_RULE_SETUP
|
||||
case 32:
|
||||
YY_RULE_SETUP
|
||||
{
|
||||
while (zconfleng) {
|
||||
if ((zconftext[zconfleng-1] != ' ') && (zconftext[zconfleng-1] != '\t'))
|
||||
break;
|
||||
zconfleng--;
|
||||
}
|
||||
append_string(zconftext, zconfleng);
|
||||
if (!first_ts)
|
||||
first_ts = last_ts;
|
||||
|
||||
@@ -217,6 +217,11 @@ n [A-Za-z0-9_]
|
||||
append_string("\n", 1);
|
||||
}
|
||||
[^ \t\n].* {
|
||||
while (yyleng) {
|
||||
if ((yytext[yyleng-1] != ' ') && (yytext[yyleng-1] != '\t'))
|
||||
break;
|
||||
yyleng--;
|
||||
}
|
||||
append_string(yytext, yyleng);
|
||||
if (!first_ts)
|
||||
first_ts = last_ts;
|
||||
|
||||
Reference in new issue
Block a user