mirror of
https://github.com/byteworksinc/ORCA-Pascal.git
synced 2024-11-25 03:32:23 +00:00
debugger - bad code generated for array symbol tables
Fields are in the wrong order and it returns sizes for the array type rather than the element type.
This commit is contained in:
parent
cf72a073f8
commit
1a89445ae7
@ -991,10 +991,10 @@ var
|
||||
CnOut2(count);
|
||||
end; {else if}
|
||||
while count <> 0 do begin {write the subscript entries}
|
||||
CnOut2(0); CnOut2(0);
|
||||
GetBounds(tp, lmin, lmax);
|
||||
GetBounds(tp^.inxtype, lmin, lmax);
|
||||
CnOut2(long(lmin).lsw); CnOut2(long(lmin).msw);
|
||||
CnOut2(long(lmax).lsw); CnOut2(long(lmax).msw);
|
||||
CnOut2(0); CnOut2(0);
|
||||
symLength := symLength+12;
|
||||
tp := tp^.aeltype;
|
||||
count := count-1;
|
||||
|
Loading…
Reference in New Issue
Block a user