Menu

#5 Error: Property getters/ setters in other files

closed-fixed
G. Veith
Generators (5)
4
2005-08-26
2005-08-20
koelzk
No

I could parse my project successfuly, however I
encountered an assertion in
Source\GeneratorUCommentDoc.pas, line 1748, when I was
trying generate the documenation files.

I made a quick debug run of DelphiDoc and it seems the
error is caused by properties which reference fields of
parent classes, which are implemented in other files.

In my case this is the property Animate, declared in
the class TFuncPlotter (in FuncPlotter.pas):

property Animate: Boolean read FAnimate write SetAnimate;

The field FAnimate is not declared in TFuncPlotter, but
in its parent class TBasePlotter (in BasePlotter.pas).

If you would like to check the documentation process
for the complete project, you can get the source here:
http://sourceforge.net/projects/cplotter

Discussion

  • koelzk

    koelzk - 2005-08-20

    BasePlotter.pas and FuncPlotter.pas

     
  • G. Veith

    G. Veith - 2005-08-20

    Logged In: YES
    user_id=1075015

    The error was introduced a few releases ago with some bigger
    internal changes, i.e. I forgot to change some other small
    things, too.

    I'm currently too lazy to make a new release only for this
    bug, but in about a week I will have more time for DelphiDoc
    again. I hope a release will follow after that. For those
    who can't wait, here are the extensive instructions on how
    to fix it:

    In Line 4005 in Source\Generator\UCommentDoc.pas the line
    SetCommentIdent(Read, FCommentFile, False);
    has to be replaced with
    SetCommentIdent(Read, Read.InFile, False);

    Thanks for the note!

     
  • G. Veith

    G. Veith - 2005-08-20
    • labels: --> Generators
    • priority: 5 --> 4
    • assigned_to: nobody --> gveith
    • status: open --> open-postponed
     
  • G. Veith

    G. Veith - 2005-08-20

    Logged In: YES
    user_id=1075015

    Sorry, it is line 4002.
    I was using my current development version; and as you see,
    there are already huge changes so far (about 6 lines).

     
  • G. Veith

    G. Veith - 2005-08-26

    Logged In: YES
    user_id=1075015

    New release should fix this, as promised.

     
  • G. Veith

    G. Veith - 2005-08-26
    • status: open-postponed --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.