[Lazarus] PScanner tkComment token type

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Nov 20 23:51:40 CET 2014


On Thu, 20 Nov 2014 23:39:59 +0100
Frederic Da Vitoria <davitofrg at gmail.com> wrote:

> Hello,
> 
> I am starting to use fpprofiler. Because I did not know what parameters
> should be sent to fpc, I decided to use fppinsert. At least one type of
> "instrumented" code fails to compile:
> // some code { some comment }
> is wrongly changed into
> { some code { some comment }  }
> which does not compile.

Note: In FPC default $mode FPC and Lazarus default $mode ObjFPC nested
comments are allowed. It is not allowed in $mode Delphi.


Mattias




More information about the Lazarus mailing list