mirror of
https://github.com/wolfpld/tracy.git
synced 2024-12-01 17:34:36 +00:00
Hackfix support for UTF-8 in source files.
This commit is contained in:
parent
526d0cd22a
commit
b217e00dd9
@ -124,7 +124,7 @@ std::vector<Tokenizer::Token> Tokenizer::Tokenize( const char* begin, const char
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
while( begin != end && isspace( *begin ) ) begin++;
|
while( begin != end && isspace( (uint8_t)*begin ) ) begin++;
|
||||||
if( first && begin < end && *begin == '#' )
|
if( first && begin < end && *begin == '#' )
|
||||||
{
|
{
|
||||||
if( *(end-1) == '\\' ) m_isInPreprocessor = true;
|
if( *(end-1) == '\\' ) m_isInPreprocessor = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user