preprocessor: don't create temporary bytearray objects to handle commas

Change-Id: I1c45bb9a5118e19b15878eb04e65b52bd6c5d1e7
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
hjk
2012-04-18 11:34:00 +02:00
committed by hjk
parent 7eb84086d9
commit 9e3127a2f6
2 changed files with 12 additions and 14 deletions

View File

@@ -179,7 +179,7 @@ private:
QString string(const char *first, int len) const;
PPToken generateToken(enum Kind kind, const Internal::ByteArrayRef &content, unsigned lineno, bool addQuotes);
PPToken generateToken(enum Kind kind, const char *content, int len, unsigned lineno, bool addQuotes);
PPToken generateConcatenated(const PPToken &leftTk, const PPToken &rightTk);
void startSkippingBlocks(const PPToken &tk) const;