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 // Align parentheses
if (matchParen) { if (matchParen) {
if (skipScope(Symbols.TokenLPAREN, Symbols.TokenRPAREN)) if (skipScope(Symbols.TokenLPAREN, Symbols.TokenRPAREN)) {
return fPosition; return fPosition;
else { } else {
// if we can't find the matching paren, the heuristic is to unindent // if we can't find the matching paren, the heuristic is to unindent
// by one against the normal position // by one against the normal position
int pos= findReferencePosition(offset, danglingElse, matchBrace, false, matchCase, int pos= findReferencePosition(offset, danglingElse, matchBrace, false, matchCase,
@ -2021,7 +2021,7 @@ public final class CIndenter {
if (depth == 0) if (depth == 0)
return true; return true;
} else if (fToken == Symbols.TokenEOF) { } else if (fToken == Symbols.TokenEOF) {
return false; return false;
} }
} }
} }