1
0
Fork 0
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:
John Camelon 2003-07-24 14:47:32 +00:00
parent 7a408c3e1d
commit ea9038f44b

View file

@ -876,6 +876,8 @@ public class Parser implements IParser
declaration.enterScope( requestor );
handleFunctionBody(declarator);
((IASTOffsetableElement)declaration).setEndingOffset(
lastToken.getEndOffset());
declaration.exitScope( requestor );
}