diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-06-23 16:50:11 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-06-24 10:25:17 +0200 |
commit | 11443b32dd210b2bbb1e5c17d01af6b44bb083eb (patch) | |
tree | 1759a29e51a9a04dd5af1b638bfbfdf13e0cfc2d /src/shared/cplusplus/ASTMatcher.cpp | |
parent | 56769bb6fb2a496c440fcc823779db8755b68c50 (diff) | |
download | qt-creator-11443b32dd210b2bbb1e5c17d01af6b44bb083eb.tar.gz |
Regenerated firstToken/lastToken methods.
Diffstat (limited to 'src/shared/cplusplus/ASTMatcher.cpp')
-rw-r--r-- | src/shared/cplusplus/ASTMatcher.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/cplusplus/ASTMatcher.cpp b/src/shared/cplusplus/ASTMatcher.cpp index e0b6af2591..7601430862 100644 --- a/src/shared/cplusplus/ASTMatcher.cpp +++ b/src/shared/cplusplus/ASTMatcher.cpp @@ -2725,6 +2725,8 @@ bool ASTMatcher::match(LambdaCaptureAST *node, LambdaCaptureAST *pattern) (void) node; (void) pattern; + pattern->default_capture_token = node->default_capture_token; + if (! pattern->capture_list) pattern->capture_list = node->capture_list; else if (! AST::match(node->capture_list, pattern->capture_list, this)) |