From 717a2ea5c79a95dd3178447e27be979895f55892 Mon Sep 17 00:00:00 2001 From: Ryan Snyder Date: Mon, 28 Oct 2024 15:02:01 -0400 Subject: hlr: expose ability to claim line addresses --- lang/rust/pseudorust.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lang/rust/pseudorust.cpp') diff --git a/lang/rust/pseudorust.cpp b/lang/rust/pseudorust.cpp index d7e18efc..0f41678f 100644 --- a/lang/rust/pseudorust.cpp +++ b/lang/rust/pseudorust.cpp @@ -716,6 +716,8 @@ void PseudoRustFunction::GetExprText(const HighLevelILInstruction& instr, HighLe auto function = m_highLevelIL->GetFunction(); if (instr.ast) tokens.PrependCollapseIndicator(function, instr); + if (instr.operation != HLIL_BLOCK) + tokens.InitLine(); switch (instr.operation) { case HLIL_BLOCK: -- cgit v1.3.1