On Sun, Sep 11, 2011 at 1:51 PM, Skybuck Flying <skybuck2...@hotmail.com> wrote:
> ^ This code should produce an error becomes end is not ended with a
> semicolon –> ;

Looks like you are not aware that Pascal uses semicolon as separators,
not statement enders. AFAIK the code you posted is valid, and so it is
to write for example:

procedure something;
begin
  if X then
  begin
  end // <- no semi-colon
end;

If the identation program has issues with that then you found a bug.

See: 
http://en.wikipedia.org/wiki/Comparison_of_Object_Pascal_and_C#Semicolon_use

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to