diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-01-22 16:06:41 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-01-22 16:07:26 +0100 |
commit | 4912ffe7297d80f1179041a5e9d740bc0913ac21 (patch) | |
tree | f4af1b3eedc7e686e1b690d6f4f7079a80712c7c /src/shared/cplusplus/Parser.h | |
parent | d3acff747cce2b1432c146c722caeb2381993691 (diff) | |
download | qt-creator-4912ffe7297d80f1179041a5e9d740bc0913ac21.tar.gz |
Temporary fix to prevent the parser from going too deep into recursion.
Diffstat (limited to 'src/shared/cplusplus/Parser.h')
-rw-r--r-- | src/shared/cplusplus/Parser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Parser.h b/src/shared/cplusplus/Parser.h index 6b80133788..7d72c7ef39 100644 --- a/src/shared/cplusplus/Parser.h +++ b/src/shared/cplusplus/Parser.h @@ -314,6 +314,8 @@ private: bool _inFunctionBody: 1; bool _inObjCImplementationContext: 1; + int depth; + std::map<unsigned, TemplateArgumentListEntry> _templateArgumentList; class Rewind; |