Commit cc838218 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Implemented MemberAccessAST::lastToken().

parent 1dbdea5f
......@@ -1675,9 +1675,10 @@ unsigned MemberAccessAST::firstToken() const
unsigned MemberAccessAST::lastToken() const
assert(0 && "review me");
if (member_name)
return member_name->lastToken();
else if (template_token)
return template_token + 1;
return access_token + 1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment