POV-Ray : Newsgroups : povray.beta-test : nested comments Server Time
29 Jul 2024 22:31:43 EDT (-0400)
  nested comments (Message 1 to 3 of 3)  
From: Felix Wiemann
Subject: nested comments
Date: 6 Feb 2002 09:17:02
Message: <3c613ade$1@news.povray.org>
WINPOV Beta 10, Win 98SE

The parser accepts nested comments, but they aren't highlighted correctly:

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

The last */ is not highlighted as a comment.


Post a reply to this message

From: Warp
Subject: Re: nested comments
Date: 6 Feb 2002 09:19:54
Message: <3c613b89@news.povray.org>
Felix Wiemann <Fel### [at] gmxnet> wrote:
: The parser accepts nested comments, but they aren't highlighted correctly:

  AFAIK that's a problem in the Codemax editor and can't be fixed (at least
not in any easy way) by the povteam.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Pabs
Subject: Re: nested comments
Date: 8 Feb 2002 01:48:12
Message: <3c6374ac@news.povray.org>
>   AFAIK that's a problem in the Codemax editor
on that note in C/C++ mode
In the following, abc (& thereafter) is highlighted in comment styles

/* Some text.*/
abc

The problem seems to be the dot/point before the close brackets.


Post a reply to this message

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