diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-02-16 15:42:26 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-02-16 18:20:46 +0100 |
commit | 2788d77229dbecdeae293f8e3edff70f39750e63 (patch) | |
tree | aea3e1b78ec0ffabac54432f283b364bf4b5fcf2 /src/shared/cplusplus/AST.cpp | |
parent | 3666883f23b5c78f2ed24b9770120a4d614079e7 (diff) | |
download | qt-creator-2788d77229dbecdeae293f8e3edff70f39750e63.tar.gz |
Fixes: Implementation of NewExpressionAST::lastToken()
Diffstat (limited to 'src/shared/cplusplus/AST.cpp')
-rw-r--r-- | src/shared/cplusplus/AST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cplusplus/AST.cpp b/src/shared/cplusplus/AST.cpp index 8a9c201dc5..6ab5c9b92e 100644 --- a/src/shared/cplusplus/AST.cpp +++ b/src/shared/cplusplus/AST.cpp @@ -1178,7 +1178,7 @@ unsigned DeclaratorListAST::lastToken() const { for (const DeclaratorListAST *it = this; it; it = it->next) { if (! it->next) - return it->lastToken(); + return it->declarator->lastToken(); } return 0; } |