Re: [Lazarus] PScanner tkComment token type

2014-11-21 Thread Frederic Da Vitoria
2014-11-21 0:58 GMT+01:00 Mattias Gaertner nc-gaert...@netcologne.de: On Fri, 21 Nov 2014 00:24:11 +0100 Frederic Da Vitoria davito...@gmail.com wrote: [...] Note: In FPC default $mode FPC and Lazarus default $mode ObjFPC nested comments are allowed. It is not allowed in $mode Delphi.

[Lazarus] PScanner tkComment token type

2014-11-20 Thread Frederic Da Vitoria
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.

Re: [Lazarus] PScanner tkComment token type

2014-11-20 Thread Mattias Gaertner
On Thu, 20 Nov 2014 23:39:59 +0100 Frederic Da Vitoria davito...@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

Re: [Lazarus] PScanner tkComment token type

2014-11-20 Thread Frederic Da Vitoria
2014-11-20 23:51 GMT+01:00 Mattias Gaertner nc-gaert...@netcologne.de: On Thu, 20 Nov 2014 23:39:59 +0100 Frederic Da Vitoria davito...@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

Re: [Lazarus] PScanner tkComment token type

2014-11-20 Thread Mattias Gaertner
On Fri, 21 Nov 2014 00:24:11 +0100 Frederic Da Vitoria davito...@gmail.com wrote: [...] Note: In FPC default $mode FPC and Lazarus default $mode ObjFPC nested comments are allowed. It is not allowed in $mode Delphi. Ah, the fourth way I wrote about :-) Yes, I could try this. but I am a