[fpc-pascal] PToP problem on 'uses' keyword

leledumbo leledumbo_cool at yahoo.co.id
Mon Jul 21 07:25:22 CEST 2008


Everytime I have a uses section in my source, PToP always thinks that the
uses section never ends. For example:

program tes;

uses
  Math;

  procedure proc(s: String);
  begin
    WriteLn(s);
  end;

  begin
    proc('something');
  end.

Without the uses section, I got them formatted properly. E.g.:

program tes;

procedure proc(s: String);
begin
  WriteLn(s);
end;

begin
  proc('something');
end.

Here's my ptop.cfg:  http://www.nabble.com/file/p18562377/ptop.cfg ptop.cfg 
-- 
View this message in context: http://www.nabble.com/PToP-problem-on-%27uses%27-keyword-tp18562377p18562377.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.




More information about the fpc-pascal mailing list