Added objcEnabled()/setObjcEnabled() to SimpleLexer.

This commit is contained in:
Roberto Raggi
2009-01-08 11:35:54 +01:00
parent c06c77daaa
commit b2ff63145b
2 changed files with 18 additions and 1 deletions

View File

@@ -91,6 +91,9 @@ public:
bool qtMocRunEnabled() const;
void setQtMocRunEnabled(bool enabled);
bool objcEnabled() const;
void setObjcEnabled(bool onoff);
QList<SimpleToken> operator()(const QString &text, int state = 0);
int state() const
@@ -100,6 +103,7 @@ private:
int _lastState;
bool _skipComments: 1;
bool _qtMocRunEnabled: 1;
bool _objcEnabled: 1;
};
} // end of namespace CPlusPlus