mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +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;
|
||||
};
|
||||
|
||||
enum class AsmTokenColor : uint8_t
|
||||
{
|
||||
Label, // no-op, padding
|
||||
Default, // '+', '[', '*', etc
|
||||
SizeDirective, // byte, word, dword, etc
|
||||
Register, // rax, rip, etc
|
||||
Literal, // 0x04, etc
|
||||
};
|
||||
|
||||
Tokenizer();
|
||||
|
||||
std::vector<Token> Tokenize( const char* begin, const char* end );
|
||||
|
Loading…
Reference in New Issue
Block a user