Hi all,
There is a xpcom-branch which adds the 'constref' parameter type to Free Pascal. This can be useful for connecting to external api's (http://bugs.freepascal.org/view.php?id=7612)
Normally I would ask Mattias to add the 'constref' parsing to the codetools and in most cases it's done within a few hours. But this case I though: I can do this myself.
Attached patch works for me, but I doubt it is ok. Why are there two lists for keywords? (WordIsKeyword and WordIsDelphiKeyword) Is that for the different fpc-compilation mode's?
And what is AllKeyWords for? And why is 'END' added to it, it is already in WordIsKeyword?
Maybe if some explanation for all these keywords-lists is added, someone else can also have a look at them and fix/change somethings?
Joost
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codetools_constref.diff
Type: text/x-patch
Size: 1754 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101010/ee84774b/attachment.bin>
