mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Cosmetics.
This commit is contained in:
parent
b94d0419e9
commit
008e2da67d
1 changed files with 2 additions and 2 deletions
|
@ -658,8 +658,8 @@ public class GNUCSourceParser extends AbstractGNUSourceCodeParser {
|
||||||
}
|
}
|
||||||
|
|
||||||
IASTArraySubscriptExpression s = nodeFactory.newArraySubscriptExpression(firstExpression, secondExpression);
|
IASTArraySubscriptExpression s = nodeFactory.newArraySubscriptExpression(firstExpression, secondExpression);
|
||||||
((ASTNode) s).setOffsetAndLength(((ASTNode) firstExpression)
|
((ASTNode) s).setOffsetAndLength(((ASTNode) firstExpression).getOffset(),
|
||||||
.getOffset(), last - ((ASTNode) firstExpression).getOffset());
|
last - ((ASTNode) firstExpression).getOffset());
|
||||||
firstExpression = s;
|
firstExpression = s;
|
||||||
break;
|
break;
|
||||||
case IToken.tLPAREN:
|
case IToken.tLPAREN:
|
||||||
|
|
Loading…
Add table
Reference in a new issue