diff options
author | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-09 16:55:25 +0100 |
---|---|---|
committer | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-09 16:55:51 +0100 |
commit | 599cdcfa064c91a2a4dcbb3d76dab799b19e4ecf (patch) | |
tree | bdbd8011612f4fe0cf3ac18d909914c0fed66919 /src/libs/cplusplus/SimpleLexer.cpp | |
parent | 5f9669d8d264bc0c97afae61269c25e485949b83 (diff) | |
download | qt-creator-599cdcfa064c91a2a4dcbb3d76dab799b19e4ecf.tar.gz |
More ObjC++
Diffstat (limited to 'src/libs/cplusplus/SimpleLexer.cpp')
-rw-r--r-- | src/libs/cplusplus/SimpleLexer.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/libs/cplusplus/SimpleLexer.cpp b/src/libs/cplusplus/SimpleLexer.cpp index 583f45da38..440946cdb3 100644 --- a/src/libs/cplusplus/SimpleLexer.cpp +++ b/src/libs/cplusplus/SimpleLexer.cpp @@ -58,7 +58,7 @@ SimpleLexer::SimpleLexer() : _lastState(0), _skipComments(false), _qtMocRunEnabled(true), - _objcEnabled(false) + _objCEnabled(false) { } SimpleLexer::~SimpleLexer() @@ -74,15 +74,14 @@ void SimpleLexer::setQtMocRunEnabled(bool enabled) _qtMocRunEnabled = enabled; } - -bool SimpleLexer::objcEnabled() const +bool SimpleLexer::objCEnabled() const { - return _objcEnabled; + return _objCEnabled; } -void SimpleLexer::setObjcEnabled(bool onoff) +void SimpleLexer::setObjCEnabled(bool onoff) { - _objcEnabled = onoff; + _objCEnabled = onoff; } bool SimpleLexer::skipComments() const @@ -105,7 +104,7 @@ QList<SimpleToken> SimpleLexer::operator()(const QString &text, int state) Lexer lex(firstChar, lastChar); lex.setQtMocRunEnabled(_qtMocRunEnabled); - lex.setObjcEnabled(_objcEnabled); + lex.setObjCEnabled(_objCEnabled); if (! _skipComments) lex.setScanCommentTokens(true); |