mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
3a6830d2ea
commit
2248fd43bc
1 changed files with 2 additions and 5 deletions
|
@ -3319,13 +3319,11 @@ public class CodeFormatterVisitor extends ASTVisitor implements ICPPASTVisitor,
|
||||||
if (currentOffset < endOffset) {
|
if (currentOffset < endOffset) {
|
||||||
scribe.skipRange(startOffset, endOffset);
|
scribe.skipRange(startOffset, endOffset);
|
||||||
break;
|
break;
|
||||||
}
|
} else if (currentOffset == endOffset && i == locations.length - 1) {
|
||||||
else if (currentOffset == endOffset && i == locations.length - 1) {
|
|
||||||
scribe.skipRange(startOffset, endOffset);
|
scribe.skipRange(startOffset, endOffset);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3769,5 +3767,4 @@ public class CodeFormatterVisitor extends ASTVisitor implements ICPPASTVisitor,
|
||||||
}
|
}
|
||||||
return positions;
|
return positions;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue