forked from qt-creator/qt-creator
Fix UiPublicMember::lastSourceLocation.
Mirrors http://codereview.qt.nokia.com/#change,755 Change-Id: I7d1222bda67344456710ada52af33d17688627ca Reviewed-on: http://codereview.qt.nokia.com/757 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
@@ -2356,6 +2356,8 @@ public:
|
||||
{
|
||||
if (binding)
|
||||
return binding->lastSourceLocation();
|
||||
if (statement)
|
||||
return statement->lastSourceLocation();
|
||||
|
||||
return semicolonToken;
|
||||
}
|
||||
|
Reference in New Issue
Block a user