Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May not handle 'deprecated' for type aliases #5

Closed
vintagedave opened this issue Jun 2, 2024 · 0 comments
Closed

May not handle 'deprecated' for type aliases #5

vintagedave opened this issue Jun 2, 2024 · 0 comments

Comments

@vintagedave
Copy link

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.

@Isopod Isopod closed this as completed in e0d34aa Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant