forked from qt-creator/qt-creator
Syntax highlighting for Objective-C identifiers (super, self, nil, Nil, _cmd, SEL, IMP, BOOL, YES, NO, id).
This commit is contained in:
@@ -83,6 +83,7 @@ public:
|
||||
bool isKeyword() const;
|
||||
bool isComment() const;
|
||||
bool isObjCAtKeyword() const;
|
||||
bool isObjCTypeQualifier() const { return f._objcTypeQualifier; }
|
||||
|
||||
const char *name() const;
|
||||
|
||||
@@ -102,6 +103,7 @@ public:
|
||||
struct {
|
||||
short _newline: 1;
|
||||
short _whitespace: 1;
|
||||
short _objcTypeQualifier: 1;
|
||||
} f;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user