diff options
| author | Erik Verbruggen <[email protected]> | 2009-10-09 15:23:19 +0200 |
|---|---|---|
| committer | Erik Verbruggen <[email protected]> | 2009-10-09 15:23:19 +0200 |
| commit | d61eb9c8936807d8e6d8fdbbaa2d53a4c3f3a700 (patch) | |
| tree | 80afe483be2439270fbd882c42c1e624a20190d5 /src/libs/cplusplus/SimpleLexer.h | |
| parent | 4b44fa5f4ad4941d27e96f40b269367da2cfbf22 (diff) | |
Syntax highlighting for Objective-C identifiers (super, self, nil, Nil, _cmd, SEL, IMP, BOOL, YES, NO, id).
Diffstat (limited to 'src/libs/cplusplus/SimpleLexer.h')
| -rw-r--r-- | src/libs/cplusplus/SimpleLexer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/cplusplus/SimpleLexer.h b/src/libs/cplusplus/SimpleLexer.h index 0775eccb1c9..c9b831a1d06 100644 --- a/src/libs/cplusplus/SimpleLexer.h +++ b/src/libs/cplusplus/SimpleLexer.h @@ -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; }; |
