C++: Enabled C++0x in SimpleLexer

We should create a UI flag for C++0x...

Change-Id: Iba30090aa580554af629c0fb59ae5fc22b306b80
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
Leandro Melo
2011-11-18 11:15:35 +01:00
parent 9f73c5848b
commit 64d579dc3a
3 changed files with 16 additions and 0 deletions

View File

@@ -57,6 +57,9 @@ public:
bool objCEnabled() const;
void setObjCEnabled(bool onoff);
bool cxx0xEnabled() const;
void setCxx0xEnabled(bool enabled);
bool endedJoined() const;
QList<Token> operator()(const QString &text, int state = 0);
@@ -78,6 +81,7 @@ private:
bool _qtMocRunEnabled: 1;
bool _objCEnabled: 1;
bool _endedJoined: 1;
bool _cxx0xEnabled: 1;
};
} // namespace CPlusPlus