POV-Ray : Newsgroups : povray.beta-test : 2.2.1.2 Comments (block comments). : Re: 2.2.1.2 Comments (block comments). Server Time
29 Jul 2024 00:23:31 EDT (-0400)
  Re: 2.2.1.2 Comments (block comments).  
From: Lance Birch
Date: 25 Mar 2006 02:24:59
Message: <4424f04b$1@news.povray.org>
"MvGulik" <.......@dds.nl> wrote in message news:442261cf@news.povray.org...
> mmm, povray.bugreports seems to be locked. o well.
>
> 2.2.1.2 Comments (block comments).
>
> up to v3.6. (don't know about 3.7beta).
>
> Probably already know, and trivial, but still ... not seeing any mention of
> it in (online) doc's.
>
> Povray's-Editor syntax highlighting is a little off when it comes to
> following the syntax rules for nested block comments. (its highliting them
> in default c-style)
>
> Also (very trivial), think the example is not really showing the difference
> to not nested block-comment style.
>
> ---(org)
> /* This is a comment
> // This too
> /* This also */
> */
> ---
> ---(mine)
> /* This is a comment
> // This too
> /* This also */
> and this one is also a comment
> */
> ---
>
> Come to think of it, this probebly make the SciTe-Pov-Lexer the only true
> compliant Povray-syntax-highlighter in the world. :-)
> (damn C-junkies ;-) )
>
> anyway, a trivial mail from a trivial individual.
> cheers

I can confirm this bug exists in 3.7.0.beta.11c as well.

A minimal test case is:

/*
/* correctly highlighted */
incorrectly highlighted
*/

Lance.


Post a reply to this message

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