preprocessor: make Preprocessor::preprocess private

Change-Id: Ic81e3ebec1b42ae0698a340ee7e1c711225c1162
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-04-19 10:15:52 +02:00
committed by hjk
parent 64565e795a
commit 538901d441
2 changed files with 5 additions and 6 deletions

View File

@@ -82,10 +82,6 @@ public:
QByteArray operator()(const QString &filename, const QString &source);
QByteArray operator()(const QString &filename, const QByteArray &source, bool noLines = false, bool markGeneratedTokens = true);
void preprocess(const QString &filename,
const QByteArray &source,
QByteArray *result, bool noLines, bool markGeneratedTokens, bool inCondition);
bool expandMacros() const;
void setExpandMacros(bool expandMacros);
@@ -93,6 +89,10 @@ public:
void setKeepComments(bool keepComments);
private:
void preprocess(const QString &filename,
const QByteArray &source,
QByteArray *result, bool noLines, bool markGeneratedTokens, bool inCondition);
enum { MAX_LEVEL = 512 };
struct State {