Skip to content

May not handle 'deprecated' for type aliases #5

Description

@vintagedave

Hello. I'm parsing Vcl.Controls.pas. At approximately line 450, there's this snippet:

type

{ .NET / Win32 source compatibility declarations }

{$IF DEFINED(CLR)}
  TCustomData = TObject;
  TCustomLongData = TObject deprecated 'Use THelpEventData, TListBoxItemData or NativeInt';
  TWindowProcPtr = IntPtr;
{$ELSE}
  TCustomData = Pointer;
  TCustomLongData = NativeInt deprecated 'Use THelpEventData, TListBoxItemData or NativeInt';
  TWindowProcPtr = Pointer;
{$ENDIF}

The line TCustomLongData = TObject deprecated 'Use THelpEventData, TListBoxItemData or NativeInt'; parses with the node for TCustomLongData and TObject both as ERROR.

My guess is that this is because of the deprecated keyword and string afterwards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions