[fpc-devel] ptop

Florian Klaempfl florian at freepascal.org
Sat Feb 19 15:57:49 CET 2005


Jan Ruzicka wrote:

> Hi
> 
> is anybody updating the ptop utility?
> 
> I was attempting to run a legacy source code by it but it fails to deliver.
> Problems are
> 1) keywords
>     - ptop does not recognize all fpc keywords
> 
> 2) nested comments
>     - ptop does not recognize nested comments
> 
> 3) comment endings
>     - ptop does not differentiate between '{','}' and '(*','*)' comments
>      - ptop does not even recognize '*)' most of the time (it matches it 
> as '*' and ')'.
> 
> 4) multi line comments
>     - ptop does not handle multiline comments properly it ends the 
> comment at the end of line.
> 
> I attempted to fix issues mentioned above, but I don't know who should 
> be contacted for a patch submission.
> 
> Can I use Ansi strings or does it have to be portable?

Ansitrings are always portable so they can be used.

> 
> I ask because multi line comments are too big for a string.
> 
> Is there a keeper of the utils ?

Post them zipped here; if the zip is too large, the list admin will 
handle it :)





More information about the fpc-devel mailing list