mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Code formatting.
This commit is contained in:
parent
62b0e8bd2e
commit
b24cf5d723
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue