Commit cea012a1 authored by Leandro Melo's avatar Leandro Melo Committed by Leandro T. C. Melo

C++: Fix BaseSpecifierAST::firstToken return

Change-Id: I105d94f543d22319571320cd88f791278aac3239
Reviewed-on: http://codereview.qt.nokia.com/2734Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
parent 47f6cb39
......@@ -81,7 +81,7 @@ unsigned BaseSpecifierAST::firstToken() const
if (access_specifier_token)
return access_specifier_token;
if (name)
name->firstToken();
return name->firstToken();
// assert?
return 0;
}
......
Markdown is supported
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