Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-07

PToP problem on 'uses' keyword

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

leledumbo

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 .