astyleパッチ

--pad=paren を指定したとき () だけでなく [] の中にもスペースをはさんでしまうのが嫌だったのでソースを修正。
astyle 1.15.3

--- ASFormatter.cpp.orig	2005-05-20 02:48:27.031250000 +0900
+++ ASFormatter.cpp	2005-05-20 02:50:58.468750000 +0900
@@ -931,29 +931,29 @@
         }
         if (shouldPadParenthesies)
         {
-            if (currentChar == '(' || currentChar == '[' )
+            if (currentChar == '(')
             {
                 char peekedChar = peekNextChar();
 
                 isInPotentialCalculation = true;
                 appendCurrentChar();
                 if (!(currentChar == '(' && peekedChar == ')')
-						&& !(currentChar == '[' && peekedChar == ']'))
+						)
                     appendSpacePad();
                 continue;
             }
-            else if (currentChar == ')' || currentChar == ']')
+            else if (currentChar == ')')
             {
                 char peekedChar = peekNextChar();
                 
 				if (!(previousChar == '(' && currentChar == ')')
-						&& !(previousChar == '[' && currentChar == ']'))
+						)
                     appendSpacePad();
 
                 appendCurrentChar();
 
                 if (peekedChar != ';' && peekedChar != ',' && peekedChar != '.'
-                        && !(currentChar == ']' && peekedChar == '['))
+                        )
                     appendSpacePad();
                 continue;
             }