diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-03-04 15:53:28 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2024-03-15 15:12:50 -0400 |
| commit | 7ba5163f45803debbbc496d2981343a5ffa8a172 (patch) | |
| tree | c251f4ebc5e58a8cc55382cb7a5afc1222e59d16 /rust/src | |
| parent | f0b152f29e3b0da7224ea18a0dfb9892a87660f6 (diff) | |
Separate local variable tokens in higher level ILs from stack variable tokens in lower levels, and improve token usage in disassembly
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/disassembly.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/src/disassembly.rs b/rust/src/disassembly.rs index 1c8bcd0d..1d0dfb8b 100644 --- a/rust/src/disassembly.rs +++ b/rust/src/disassembly.rs @@ -94,6 +94,7 @@ pub enum InstructionTextTokenContents { NameSpace, GotoLabel(u64), Indentation, + Brace, } impl InstructionTextToken { @@ -141,6 +142,7 @@ impl InstructionTextToken { InstructionTextTokenContents::NameSpace => InstructionTextTokenType::NameSpaceToken, InstructionTextTokenContents::GotoLabel(_) => InstructionTextTokenType::GotoLabelToken, InstructionTextTokenContents::Indentation => InstructionTextTokenType::IndentationToken, + InstructionTextTokenContents::Brace => InstructionTextTokenType::BraceToken, }; let width = text.len() as u64; |
