mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 23:29:16 +02:00
DBG: improved type-info parsing. (prepare for gw3)
git-svn-id: trunk@32707 -
This commit is contained in:
parent
59bfe097c6
commit
d85dcb1390
@ -1397,15 +1397,19 @@ var
|
||||
FProcessState := gtpsArray;
|
||||
|
||||
PTypeResult := FReqResults[gptrPTypeExpr].Result;
|
||||
// In DWARF, some Dynamic Array, are pointer to there base type
|
||||
if (ptprfPointer in PTypeResult.Flags) and (PTypeResult.Kind =ptprkSimple)
|
||||
then begin
|
||||
if not RequireRequests([gptrPTypeExprDeRef])
|
||||
then exit;
|
||||
if (not IsReqError(gptrPTypeExprDeRef)) then
|
||||
PTypeResult := FReqResults[gptrPTypeExprDeRef].Result
|
||||
PTypeResult := FReqResults[gptrPTypeExprDeRef].Result;
|
||||
// This implies it is an internal pointer
|
||||
if (ptprfDynArray in PTypeResult.Flags)
|
||||
then include(FAttributes, saInternalPointer);
|
||||
end;
|
||||
|
||||
if (ptprfDynArray in PTypeResult.Flags)
|
||||
if (PTypeResult.Flags * [ptprfDynArray, ptprfPointer] = [ptprfDynArray, ptprfPointer])
|
||||
then include(FAttributes, saInternalPointer);
|
||||
|
||||
if (saInternalPointer in FAttributes) then begin
|
||||
|
Loading…
Reference in New Issue
Block a user