mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Enumerate asm token color names.
This commit is contained in:
parent
31b5a464cd
commit
a45293d6ff
@ -38,6 +38,15 @@ public:
|
|||||||
std::vector<Token> tokens;
|
std::vector<Token> tokens;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum class AsmTokenColor : uint8_t
|
||||||
|
{
|
||||||
|
Label, // no-op, padding
|
||||||
|
Default, // '+', '[', '*', etc
|
||||||
|
SizeDirective, // byte, word, dword, etc
|
||||||
|
Register, // rax, rip, etc
|
||||||
|
Literal, // 0x04, etc
|
||||||
|
};
|
||||||
|
|
||||||
Tokenizer();
|
Tokenizer();
|
||||||
|
|
||||||
std::vector<Token> Tokenize( const char* begin, const char* end );
|
std::vector<Token> Tokenize( const char* begin, const char* end );
|
||||||
|
Loading…
Reference in New Issue
Block a user