add a fixme.

llvm-svn: 112491
This commit is contained in:
Chris Lattner 2010-08-30 17:11:14 +00:00
parent 7a9e9e7d76
commit 5f183aa592
1 changed files with 5 additions and 1 deletions

View File

@ -926,7 +926,11 @@ FinishIdentifier:
}
/// isHexaLiteral - Return true if Start points to a hex constant.
static inline bool isHexaLiteral(const char* Start, const char* End) {
/// FIXME: This isn't correct, it will mislex:
/// 0\
/// x1234e+1
/// in microsoft mode (where this is supposed to be several different tokens).
static inline bool isHexaLiteral(const char *Start, const char *End) {
return ((End - Start > 2) && Start[0] == '0' &&
(Start[1] == 'x' || Start[1] == 'X'));
}