bengardner/uncrustify — pull request #202 by idpaterson (2013-10-07 20:28:25+00:00)
Title: Fixed indentation of closing bracket in multi-line ObjC array literal assignments

I noticed an indentation issue in assignment of array literals that span multiple lines. Unlike dictionaries, the closing bracket on arrays was being indented to match the opening bracket, leaving the content of the array looking like it is "outdented."

Given a multiline array such as:
```
NSArray *multilineArray = @[
@0, @1, @2, @YES,
@'Z', @42U
];
```
uncrustify was producing an indentation that aligned the closing bracket to the @ sign on the opening bracket.
```
NSArray *multilineArray = @[
@0, @1, @2, @YES,
@'Z', @42U
];
```
It seems awkward and should probably follow what happens for a dictionary instead, where the closing bracket would be aligned with the `N` as follows:
```
NSArray *multilineArray = @[
@0, @1, @2, @YES,
@'Z', @42U
];
```

This pull request addresses the issue, hopefully in an acceptable and comprehensive fashion. I have not been able to duplicate this issue outside of assignments, so I only addressed this very specific case. The literals test has been updated to include both a single-line and multi-line array. There was a syntax error in the original test which has also been fixed.

The examples shown above are derived using the standard obj-c config that is used in the literals test.