POV-Ray : Newsgroups : povray.general : Update from beta 6 to beta 6b : Re: Update from beta 6 to beta 6b Server Time
16 Nov 2024 09:20:24 EST (-0500)
  Re: Update from beta 6 to beta 6b  
From: Philippe Debar
Date: 2 Sep 1998 13:18:12
Message: <35ed6fc4.0@news.povray.org>
Nieminen Mika wrote in message <35ed6e46.0@news.povray.org>...
>Philippe Debar <phi### [at] hotmailcom> wrote:
>>: *nested comments /*/**/*/ aren't highlighted correctly
>  (I have not ever seen winpov, but...)
>  Dou mean that in a code like:
>/* test1 /* test2 */ test3 */
>  'test1' and 'test2' are highlighted as commented but 'test3' not?

Yes exactly

>  That's the right way, since 'test3' is not commented and the last
*/ is
>a syntax error (if I remember the documentation right and it works
exactly
>like in C).

Well, pov does support nested comments. It parses and render
correctly.
From the doc:
/* ... */ comments can be nested, the following is legal:

 /* This is a comment
 // This too
 /* This also */
 */

So it isn't exactly like: it is better!

Povingly,


Philippe


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.