More ObjC++

This commit is contained in:
Roberto Raggi
2009-01-09 16:55:25 +01:00
parent 5f9669d8d2
commit 599cdcfa06
8 changed files with 272 additions and 25 deletions

View File

@@ -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;