C++: Remember joined state in SimpleLexer.

Done-with: Erik Verbruggen
This commit is contained in:
Christian Kamm
2010-06-29 15:23:07 +02:00
parent 4c655cdd90
commit 837e7b5abd
2 changed files with 13 additions and 2 deletions

View File

@@ -54,6 +54,8 @@ public:
bool objCEnabled() const;
void setObjCEnabled(bool onoff);
bool endedJoined() const;
QList<Token> operator()(const QString &text, int state = 0);
int state() const
@@ -72,6 +74,7 @@ private:
bool _skipComments: 1;
bool _qtMocRunEnabled: 1;
bool _objCEnabled: 1;
bool _endedJoined: 1;
};
} // end of namespace CPlusPlus