mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
handle common comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23517 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1fd53fc322
commit
cde62cdb70
1 changed files with 7 additions and 0 deletions
|
@ -137,8 +137,12 @@ main(int argc, char** argv, char **env)
|
|||
/* Now repair any excess space round operators.
|
||||
*/
|
||||
[line replaceString: @"+ +" withString: @"++"];
|
||||
[line replaceString: @"+ +" withString: @"++"];
|
||||
[line replaceString: @"+ =" withString: @"+="];
|
||||
[line replaceString: @"- -" withString: @"--"];
|
||||
[line replaceString: @"- -" withString: @"--"];
|
||||
[line replaceString: @"= =" withString: @"=="];
|
||||
[line replaceString: @"= =" withString: @"=="];
|
||||
[line replaceString: @"- =" withString: @"-="];
|
||||
[line replaceString: @"/ /" withString: @"//"];
|
||||
[line replaceString: @"/ =" withString: @"/="];
|
||||
|
@ -160,6 +164,9 @@ main(int argc, char** argv, char **env)
|
|||
[line replaceString: @"- >" withString: @"->"];
|
||||
[line replaceString: @"-> " withString: @"->"];
|
||||
[line replaceString: @" ->" withString: @"->"];
|
||||
[line replaceString: @"/ *" withString: @"/*"];
|
||||
[line replaceString: @"* /" withString: @"*/"];
|
||||
[line replaceString: @"/ /" withString: @"//"];
|
||||
[line replaceString: @" ," withString: @","];
|
||||
[line replaceString: @"! " withString: @"!"];
|
||||
|
||||
|
|
Loading…
Reference in a new issue