[fpc-devel] fpdoc has incomplete type definitions in the documentation output
graemeg.lists at gmail.com
Wed Aug 11 12:25:50 CEST 2010
Attached is a patch for review, implementing the missing hint modifiers for
Records and Properties for fcl-passrc.
The one problem I have is with the inconsistent syntax of hint modifiers.
Sometimes a hint modifier my not have a preceding semi-colon (record types)
and sometimes it must have a preceding semi-colon (properties of a class).
So I handled it as best as I could - using a extra boolean parameter.
eg: GetDeclaration now returns the following code listings...
TRGBTriple = record
property RootWindow: TfpgWinHandle; platform;
See attached patch for review. If it's ok, then the call to ProcessHint()
needs to be added to the remainder TPasElement descendant classes for
wherever hint modifiers can be applied. [I'm not sure where everywhere in
the pascal syntax that is though]
- Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2470 bytes
Desc: not available
More information about the fpc-devel