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.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to