mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
fix: C++ generator bitfields, sizeof placement, Ctrl+F search, view sync
- Generator emits proper bitfield members instead of padding stubs - Named bitfield structs (MitigationFlagsValues etc) now converted by parser - sizeof comment moved from top to closing brace (}; // sizeof 0x80) - C/C++ view syncs with workspace double-click and controller navigation - Ctrl+F incremental search in C++ code view (Enter=next, Escape=close) - Workspace dock resizable via 1px drag handle separator - Regenerated Vergilius_25H2.rcx with all fixes (61 named bitfield containers)
This commit is contained in:
@@ -556,13 +556,11 @@ def postprocess_bitfields(nodes):
|
||||
ids_to_remove = set()
|
||||
|
||||
for node in nodes:
|
||||
# Only process anonymous struct nodes (not unions, not named types)
|
||||
# Process struct nodes (not unions, not already bitfields, not named types)
|
||||
if node.get('kind') != 'Struct':
|
||||
continue
|
||||
if node.get('classKeyword') in ('union', 'bitfield'):
|
||||
continue
|
||||
if node.get('name', '') != '':
|
||||
continue
|
||||
if node.get('structTypeName', ''):
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user