C++: Inline Lexer::control()

Change-Id: Ia37ec33fb031fdea4ad1890fcea3a80b7b46e272
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
hjk
2013-04-16 13:15:47 +02:00
committed by Nikolai Kosjar
parent 13b0ca0092
commit ad0331a2a9
2 changed files with 4 additions and 9 deletions

View File

@@ -43,7 +43,7 @@ public:
Lexer(const char *firstChar, const char *lastChar);
~Lexer();
Control *control() const;
Control *control() const { return _control; }
TranslationUnit *translationUnit() const;
bool qtMocRunEnabled() const;
@@ -118,6 +118,7 @@ private:
};
TranslationUnit *_translationUnit;
Control *_control;
const char *_firstChar;
const char *_currentChar;
const char *_lastChar;