[fpc-devel] fcl-passrc developments (fpdoc,makeskel)

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Aug 10 15:20:25 CEST 2010

Op 2010-08-08 17:44, Michael Van Canneyt het geskryf:
> I have adapted the TPasExpr elements so they descend from TPasElement, and have implemented
> GetDeclaration() so they can be used when getting declarations for the linear doc writers.
> Revision 15749.

This is still not working for me. I updated FPC to trunk r15757.

I have an include file with the following constant definitions in fpGUI...

------------[ predefinedcolors.inc ]----------------------------
{%mainunit fpg_base.pas}

  // The following colors match the predefined Delphi Colors
  // NOTE:
  //   The format is always RRGGBB (Red, Green, Blue);

  clAqua          = TfpgColor($00FFFF);
  clBlack         = TfpgColor($000000);
  clBlue          = TfpgColor($0000FF);
  clCream         = TfpgColor($FFFBF0);

And the output generated by the latest fpdoc is still missing anything
after the equal sign.

------------[ fpgui.ipf ]--------------------
clAntiqueWhite &eq.

clAqua &eq.

clAquamarine &eq.


See attached image for the final INF rendered output.

Uncommenting the old (pre expression parser) in TPasParser.ParseConstDecl
(on line 1594 in pparser.pp) and commenting the new expression parser, the
Const declarations are correct in the output.

... and before you ask, yes after I updated FPC to latest trunk, I did a
make clean; make all... in the root of the FPC src directory.  I also
double checked that I am using the new FPC compiler and FCL. ;)

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpdoc_output.png
Type: image/png
Size: 11172 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100810/66a83699/attachment.png>

More information about the fpc-devel mailing list