diff --git a/src/splat/segtypes/common/code.py b/src/splat/segtypes/common/code.py index b8b50de7..cdb75bd5 100644 --- a/src/splat/segtypes/common/code.py +++ b/src/splat/segtypes/common/code.py @@ -262,12 +262,8 @@ def parse_subsegments(self, segment_yaml) -> List[Segment]: if sibling is not None: # Make siblings reference between them - segment.siblings[sibling.get_linker_section_linksection()] = ( - sibling - ) - sibling.siblings[segment.get_linker_section_linksection()] = ( - segment - ) + segment.siblings[sibling.get_linker_section_linksection()] = sibling + sibling.siblings[segment.get_linker_section_linksection()] = segment ret = self._insert_all_auto_sections(ret, base_segments, readonly_before)