I have just started to use DelphiCodeToDoc. I created a new project and pointed it to two Delphi 2005 units. I have not, as yet, added any additional tags to the units. When I select the Check and Build option I get the following error messagees.
Parsing file : C:\Dev\ShieldII\Source Code\Shared Classes\Alarms\Alarms.pas
Could not convert the unit: Unexpected token, expected " ;"
Parsing file : C:\Dev\ShieldII\Source Code\Shared Classes\Alarms\AlarmsDAO.pas
Could not convert the unit: Unexpected token, expected " ;"
Can anyone help?
Thanks
Kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I have found the problem. In D2005 you can delcare variables and methods to be "strict private". The curernt version of DCTD does not understand this. Eg.
When I registered the project on SF.NET, I mispelled it. It is not really clear to rename the proejct, and since the DCTD pages are links to this name ( http://dephicodetodoc.sourceforge.net/ ), I don't want to change, because of the 404 error resulting.
I will contact SF.NET guys to change this, but it is not my priority !
Trident
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just started to use DelphiCodeToDoc. I created a new project and pointed it to two Delphi 2005 units. I have not, as yet, added any additional tags to the units. When I select the Check and Build option I get the following error messagees.
Parsing file : C:\Dev\ShieldII\Source Code\Shared Classes\Alarms\Alarms.pas
Could not convert the unit: Unexpected token, expected " ;"
Parsing file : C:\Dev\ShieldII\Source Code\Shared Classes\Alarms\AlarmsDAO.pas
Could not convert the unit: Unexpected token, expected " ;"
Can anyone help?
Thanks
Kevin
Can you send me these two files ?
Are you working with new Delphi2005 writing (as For each ...) ?
I haven't written any support for Dlephi2005 yet, but I will once I have this version !
I think I have found the problem. In D2005 you can delcare variables and methods to be "strict private". The curernt version of DCTD does not understand this. Eg.
type
TTestClass = class
strict private
FHappy: boolean;
FDOB: DateTime;
FAge: Integer;
FName: string;
procedure SetAge(const Value: Integer);
procedure SetDOB(const Value: DateTime);
procedure SetHappy(const Value: boolean);
procedure SetName(const Value: string);
{ Private Declarations }
public
constructor Create;
property Name : string read FName write SetName;
property Happy : boolean read FHappy write SetHappy;
property Age : Integer read FAge write SetAge;
property DOB : DateTime read FDOB write SetDOB;
end;
Kevin
Hi,
Why is this forum called
"dephicodetodoc - Help"
don't you mean
"delphicodetodoc - Help"
as in Delphi with an "L"
Regards
John Vander Reest
Erf !
When I registered the project on SF.NET, I mispelled it. It is not really clear to rename the proejct, and since the DCTD pages are links to this name ( http://dephicodetodoc.sourceforge.net/ ), I don't want to change, because of the 404 error resulting.
I will contact SF.NET guys to change this, but it is not my priority !
Trident
I think there are many bits in D2005 that DCTD does not understand. ArrayList is another.
Kevin
I've enter a new Tracker, here is the link : http://sourceforge.net/tracker/index.php?func=detail&aid=1162329&group_id=96281&atid=614255
I will work on it as soon as possible.