C++: Support multiline strings and comments

Task-number: QTCREATORBUG-662
Change-Id: I0997fe2afaba71998d5da549b7141df0c023ff12
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Orgad Shaneh
2014-01-19 22:24:14 +02:00
committed by Orgad Shaneh
parent c06e68c439
commit 0f4e3c356a
4 changed files with 213 additions and 26 deletions

View File

@@ -80,6 +80,8 @@ private:
void scanUntilQuote(Token *tok, unsigned char quote);
void scanNumericLiteral(Token *tok);
void scanIdentifier(Token *tok, unsigned extraProcessedChars = 0);
void scanBackslash(Kind type);
void scanCppComment(Kind type);
inline void yyinp()
{