Menu

#39 declaring function types cause AV

v0.8Beta
closed
TridenT
9
2012-07-18
2004-08-26
Anonymous
No

Problem with function declarations

Parsing file : C:\Patrick\Delphi7
\WinampRemote.Test\GenPluginConsts.pas
Could not convert the unit: Access violation at address
00404344 in module 'DelphiCodeToDoc.exe'. Write of
address 00000010

simplest test case:

type

TIntFunctionC = function : integer; cdecl;
TProcedureC = procedure; cdecl;

Note that the second declaration is parsed succesfully,
whereas the function type causes the AV.

Discussion

  • TridenT

    TridenT - 2004-08-26

    Logged In: YES
    user_id=248829

    Bug reproduced
    Function type crash the parser, not procedural type.
    It will be fixed in next release in top priority, as it crash the
    application.

     
  • TridenT

    TridenT - 2004-08-30

    Logged In: YES
    user_id=248829

    Fixed in v0.8beta.1
    Function type is now handle as Procedure type.

     

Anonymous
Anonymous

Add attachments
Cancel





Auth0 Logo