mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-26 18:35:32 +02:00
Fix ending offsets of Functions/Methods w/bodies for Hoda.
This commit is contained in:
parent
7a408c3e1d
commit
ea9038f44b
1 changed files with 2 additions and 0 deletions
|
@ -876,6 +876,8 @@ public class Parser implements IParser
|
||||||
declaration.enterScope( requestor );
|
declaration.enterScope( requestor );
|
||||||
|
|
||||||
handleFunctionBody(declarator);
|
handleFunctionBody(declarator);
|
||||||
|
((IASTOffsetableElement)declaration).setEndingOffset(
|
||||||
|
lastToken.getEndOffset());
|
||||||
|
|
||||||
declaration.exitScope( requestor );
|
declaration.exitScope( requestor );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue