From 9aa54ef6723ad06b019c02c22b574516dca6289b Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 21 Oct 2024 10:55:45 -0400 Subject: Linear view function regions collapse Update collapse code to support PseudoC --- 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 278bbaa8..83e2c39d 100644 --- a/lang/rust/pseudorust.cpp +++ b/lang/rust/pseudorust.cpp @@ -27,6 +27,8 @@ void PseudoRustFunction::InitTokenEmitter(HighLevelILTokenEmitter& tokens) // Rust doesn't allow omitting the braces around conditional bodies tokens.SetSimpleScopeAllowed(false); + + tokens.SetHasCollapsableRegions(false); } -- cgit v1.3.1