From 7ba5163f45803debbbc496d2981343a5ffa8a172 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 4 Mar 2024 15:53:28 -0500 Subject: Separate local variable tokens in higher level ILs from stack variable tokens in lower levels, and improve token usage in disassembly --- rust/src/disassembly.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust/src') 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; -- cgit v1.3.1