mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 07:30:54 +00:00
Merge pull request #51 from ksherlock/debugger_forward_struct_decl
Fix debugger symbol tables with forward declared structs
This commit is contained in:
commit
bd110d7e21
@ -982,6 +982,9 @@ var
|
||||
|
||||
begin {ExpandStructType}
|
||||
ip := tp^.fieldList;
|
||||
{ fieldList is nil if this is a forward declared struct. }
|
||||
if ip = nil then ip := defaultStruct^.fieldList;
|
||||
|
||||
while ip <> nil do begin
|
||||
GenSymbol(ip, none);
|
||||
ip := ip^.next;
|
||||
|
Loading…
Reference in New Issue
Block a user