diff options
author | Leandro Melo <leandro.melo@nokia.com> | 2012-08-16 21:17:41 +0200 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2012-08-23 14:35:02 +0200 |
commit | e148d030f59ae1e88c68a1843d75cd5cac444439 (patch) | |
tree | 7c8c5b207b7ff4bc3a3b008bad66ff332bfd39aa /src/libs/3rdparty/cplusplus/Lexer.h | |
parent | 15a67c41c3c9640fd935e6c76818157afaf5a487 (diff) |
C++: Introduce C++11 raw string literals
Although they are now supported by the lexer
and parser, it is worth to remind that we still
need to address an issue concerning the highlight
of multiline literals (which with the advent of
the new raw strings will become more common).
Task-number: QTCREATORBUG-6722
Change-Id: I137337a9ac0152a1f8b9faded0b960c6fe3dd38a
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Lexer.h')
-rw-r--r-- | src/libs/3rdparty/cplusplus/Lexer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/3rdparty/cplusplus/Lexer.h b/src/libs/3rdparty/cplusplus/Lexer.h index c61b53c31f..0d527f1d82 100644 --- a/src/libs/3rdparty/cplusplus/Lexer.h +++ b/src/libs/3rdparty/cplusplus/Lexer.h @@ -91,6 +91,7 @@ private: static int classifyOperator(const char *string, int length); void scanStringLiteral(Token *tok, unsigned char hint = 0); + void scanRawStringLiteral(Token *tok, unsigned char hint = 0); void scanCharLiteral(Token *tok, unsigned char hint = 0); void scanUntilQuote(Token *tok, unsigned char quote); void scanNumericLiteral(Token *tok); |