mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 14:15:23 +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 );
|
||||
|
||||
handleFunctionBody(declarator);
|
||||
((IASTOffsetableElement)declaration).setEndingOffset(
|
||||
lastToken.getEndOffset());
|
||||
|
||||
declaration.exitScope( requestor );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue