Skip to content
Snippets Groups Projects
Commit f229def9 authored by Christian Kamm's avatar Christian Kamm
Browse files

Fix UiPublicMember::lastSourceLocation.

Mirrors http://codereview.qt.nokia.com/#change,755

Change-Id: I7d1222bda67344456710ada52af33d17688627ca
Reviewed-on: http://codereview.qt.nokia.com/757


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
parent 0119dade
No related branches found
No related tags found
No related merge requests found
...@@ -2356,6 +2356,8 @@ public: ...@@ -2356,6 +2356,8 @@ public:
{ {
if (binding) if (binding)
return binding->lastSourceLocation(); return binding->lastSourceLocation();
if (statement)
return statement->lastSourceLocation();
return semicolonToken; return semicolonToken;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment