The problem is most things after Structure become a field to the autocomplete, which is confused not finding a simple Structure EndStructure sequence.
Even doing this does not solve the problem
Code:
CompilerIf #PB_Processor_x64
Macro AlignArch
Align 4
EndMacro
CompilerElse
Macro AlignArch
EndMacro
CompilerEndIf
Structure SomeStructA AlignArch
a.i
b.i
c.i
EndStructure
Structure SomeStructB
d.SomeStructA
EndStructure
*This1.SomeStructA
*This2.SomeStructB
Looks like it should be simple to understand, but now AlignArch becomes a field instead.
In the end the same thing reported here
viewtopic.php?f=4&t=59911Even assuming this specific case can be solved in some other way, in general when you start splitting multiline entities into conditional branches, autocomplete gives up.