[fpc-pascal] Nested comments

Michael Van Canneyt michael at freepascal.org
Mon Sep 23 14:11:19 CEST 2013



On Mon, 23 Sep 2013, Michael Van Canneyt wrote:

>
>
> On Mon, 23 Sep 2013, Juha Manninen wrote:
>
>> I realized FPC supports nested {} comments by default.
>> SynPdf, a Synopse PDF engine
>>  http://synopse.info/fossil/wiki?name=PDF+Engine
>> has '{' characters inside comments but they are not meant as nested 
>> comments.
>> 
>> How to turn nested comments off?
>> I did not find any such option even by using the new advanced (!) All
>> Options GUI in Lazarus.
>
> Use Delphi mode or TP mode.

if that is not an option:

{$MODESWITCH NESTEDCOMMENTS-}

Michael.



More information about the fpc-pascal mailing list