summaryrefslogtreecommitdiff
path: root/arch/riscv/src
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2024-03-04 15:53:28 -0500
committerRusty Wagner <rusty.wagner@gmail.com>2024-03-15 15:12:50 -0400
commit7ba5163f45803debbbc496d2981343a5ffa8a172 (patch)
treec251f4ebc5e58a8cc55382cb7a5afc1222e59d16 /arch/riscv/src
parentf0b152f29e3b0da7224ea18a0dfb9892a87660f6 (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 'arch/riscv/src')
-rw-r--r--arch/riscv/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/src/lib.rs b/arch/riscv/src/lib.rs
index 8b9fde31..6b3451a9 100644
--- a/arch/riscv/src/lib.rs
+++ b/arch/riscv/src/lib.rs
@@ -1031,12 +1031,12 @@ impl<D: 'static + RiscVDisassembler + Send + Sync> architecture::Architecture fo
Integer(i as u64),
));
- res.push(InstructionTextToken::new(BnString::new("("), Text));
+ res.push(InstructionTextToken::new(BnString::new("("), Brace));
res.push(InstructionTextToken::new(
BnString::new(&reg.name()),
Register,
));
- res.push(InstructionTextToken::new(BnString::new(")"), Text));
+ res.push(InstructionTextToken::new(BnString::new(")"), Brace));
res.push(InstructionTextToken::new(
BnString::new(""),
EndMemoryOperand,