summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/BackwardsScanner.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-09-09 13:34:20 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-09-09 15:26:43 +0200
commitdeabf47f32af71b6e7d87714dd7e43f82dd867e0 (patch)
tree8c6350452ca336926c618f238416496033a89450 /src/libs/cplusplus/BackwardsScanner.h
parent9a00b8ba27f2bfbe0ce9e09b8585822d9843e9f7 (diff)
downloadqt-creator-deabf47f32af71b6e7d87714dd7e43f82dd867e0.tar.gz
CppTools: Added skipComments flag.
Diffstat (limited to 'src/libs/cplusplus/BackwardsScanner.h')
-rw-r--r--src/libs/cplusplus/BackwardsScanner.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/cplusplus/BackwardsScanner.h b/src/libs/cplusplus/BackwardsScanner.h
index a2cb6e6ac3..b929ed0df4 100644
--- a/src/libs/cplusplus/BackwardsScanner.h
+++ b/src/libs/cplusplus/BackwardsScanner.h
@@ -43,7 +43,8 @@ class CPLUSPLUS_EXPORT BackwardsScanner
public:
explicit BackwardsScanner(const QTextCursor &cursor,
int maxBlockCount = MAX_BLOCK_COUNT,
- const QString &suffix = QString());
+ const QString &suffix = QString(),
+ bool skipComments = true);
int startToken() const;