[fpc-devel]comment bug?

Anatoly Podgoretsky nps at nps.vnet.ee
Thu Oct 5 12:15:47 CEST 2000


Hi Michael!

I know why Michail ask.
In other news group was a question about next construction:

{xxx {yyy }
     ^
In Delphi this compiled with out any problem but not in FPC.

> (*
>  Comment 1
>   { Subcomment }

In delphi it is not a subcomment, it is part of (*...*) or {...} comment
block.

>  rest of comment 1
> *)

Sincerely yours
Anatoly Podgoretsky <anatoly at podgoretsky.com>
http://nps.vnet.ee

----- Original Message -----
From: "Michael Van Canneyt" <michael.vancanneyt at wisa.be>
To: <fpc-devel at deadlock.et.tudelft.nl>
Sent: Thursday, October 05, 2000 11:55 AM
Subject: Re: [fpc-devel]comment bug?


>
>
> On Thu, 5 Oct 2000, Michail A.Baikov wrote:
>
> > Ok, but this not TP like style. It is Virt (de facto standart of
Pascal)...
>
> No, the de facto standard (in terms of users) is Delphi.
>
> Delphi uses TP style, i.e. no nested comments _OF THE SAME STYLE_
>
> because you can have
>
> (*
>  Comment 1
>   { Subcomment }
>  rest of comment 1
> *)
>
> Michael.
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel





More information about the fpc-devel mailing list