summaryrefslogtreecommitdiff
path: root/shared/cplusplus/Lexer.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <qtc-committer@nokia.com>2009-01-09 16:55:25 +0100
committerRoberto Raggi <qtc-committer@nokia.com>2009-01-09 16:55:51 +0100
commit599cdcfa064c91a2a4dcbb3d76dab799b19e4ecf (patch)
treebdbd8011612f4fe0cf3ac18d909914c0fed66919 /shared/cplusplus/Lexer.cpp
parent5f9669d8d264bc0c97afae61269c25e485949b83 (diff)
downloadqt-creator-599cdcfa064c91a2a4dcbb3d76dab799b19e4ecf.tar.gz
More ObjC++
Diffstat (limited to 'shared/cplusplus/Lexer.cpp')
-rw-r--r--shared/cplusplus/Lexer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/shared/cplusplus/Lexer.cpp b/shared/cplusplus/Lexer.cpp
index fcc17313b4..1f4a0f5175 100644
--- a/shared/cplusplus/Lexer.cpp
+++ b/shared/cplusplus/Lexer.cpp
@@ -122,11 +122,11 @@ bool Lexer::qtMocRunEnabled() const
void Lexer::setQtMocRunEnabled(bool onoff)
{ _qtMocRunEnabled = onoff; }
-bool Lexer::objcEnabled() const
-{ return _objcEnabled; }
+bool Lexer::objCEnabled() const
+{ return _objCEnabled; }
-void Lexer::setObjcEnabled(bool onoff)
-{ _objcEnabled = onoff; }
+void Lexer::setObjCEnabled(bool onoff)
+{ _objCEnabled = onoff; }
bool Lexer::isIncremental() const
{ return _isIncremental; }
@@ -554,7 +554,7 @@ void Lexer::scan_helper(Token *tok)
break;
default: {
- if (_objcEnabled) {
+ if (_objCEnabled) {
if (ch == '@' && _yychar >= 'a' && _yychar <= 'z') {
const char *yytext = _currentChar;