forked from qt-creator/qt-creator
Fixed a few typos and bugs in the ObjC++ support.
This commit is contained in:
@@ -55,6 +55,11 @@ bool SimpleToken::isComment() const
|
||||
return _kind == T_COMMENT || _kind == T_DOXY_COMMENT;
|
||||
}
|
||||
|
||||
bool SimpleToken::isObjCAtKeyword() const
|
||||
{
|
||||
return _kind >= T_FIRST_LITERAL && _kind <= T_LAST_OBJC_AT_KEYWORD;
|
||||
}
|
||||
|
||||
SimpleLexer::SimpleLexer()
|
||||
: _lastState(0),
|
||||
_skipComments(false),
|
||||
|
||||
@@ -79,6 +79,7 @@ public:
|
||||
bool isOperator() const;
|
||||
bool isKeyword() const;
|
||||
bool isComment() const;
|
||||
bool isObjCAtKeyword() const;
|
||||
|
||||
public:
|
||||
int _kind;
|
||||
|
||||
Reference in New Issue
Block a user