POV-Ray : Newsgroups : povray.general : subtle problem with /*...*/ comment block Server Time
2 Jan 2025 10:31:46 EST (-0500)
  subtle problem with /*...*/ comment block (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Kenneth
Subject: Re: subtle problem with /*...*/ comment block
Date: 22 Dec 2024 21:25:00
Message: <web.6768c9c9f8229af4e83955656e066e29@news.povray.org>
"Leroy" <whe### [at] gmailcom> wrote:
>
> I had to play with this a little and found another fact.
> /* wrrtr
> //*3
> fdssdds
> */
> */
> With this in to code POV still ran with no errors.
>

Here's another little example-- just to appease my curiousity:

// blah blah
// The following could be the unintended start of a comment block?  /*
// blah blah

That parses fine for me.

But enclosing it in another comment block fails, like my original //*3 :

/*
// blah blah
// The following could be the unintended start of a comment block?  /*
// blah blah
*/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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