Hi, 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 Red: word; Green: word; Blue: word; Alpha: word; end deprecated; ...or... 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] Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/
passrc.patch
Description: application/mbox
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel