mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +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
|
||||
{
|
||||
while( begin != end && isspace( *begin ) ) begin++;
|
||||
while( begin != end && isspace( (uint8_t)*begin ) ) begin++;
|
||||
if( first && begin < end && *begin == '#' )
|
||||
{
|
||||
if( *(end-1) == '\\' ) m_isInPreprocessor = true;
|
||||
|
Loading…
Reference in New Issue
Block a user