1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Code formatting.

This commit is contained in:
Sergey Prigogin 2009-05-28 07:43:28 +00:00
parent 62b0e8bd2e
commit b24cf5d723

View file

@ -869,9 +869,9 @@ public final class CIndenter {
// Align parentheses
if (matchParen) {
if (skipScope(Symbols.TokenLPAREN, Symbols.TokenRPAREN))
if (skipScope(Symbols.TokenLPAREN, Symbols.TokenRPAREN)) {
return fPosition;
else {
} else {
// if we can't find the matching paren, the heuristic is to unindent
// by one against the normal position
int pos= findReferencePosition(offset, danglingElse, matchBrace, false, matchCase,