POV-Ray : Newsgroups : povray.beta-test : #macro crush Server Time
30 Jul 2024 08:29:21 EDT (-0400)
  #macro crush (Message 1 to 4 of 4)  
From: Gleb
Subject: #macro crush
Date: 28 Dec 2001 08:51:11
Message: <3c2c78cf$1@news.povray.org>
Two lines cause a stable crash at both POV 3.5 b9  and  POV 3.1g
on P-160 32 Mb Win98  and  PIII-1000 512 Mb Win2000  :
//-------8<----------
#macro Gen
Gen()
//-------8<----------

First discovered with more lines of code between them.

gleb


Post a reply to this message

From:
Subject: Re: #macro crush
Date: 28 Dec 2001 09:04:34
Message: <esuo2ug5qnh9u92u60ajuhqo4r93nnmaap@4ax.com>
> Two lines cause a stable crash at both POV 3.5 b9  and  POV 3.1g

I can confirm it
POV 3.5 b 9 on PII 233 128 MB with NT 4 Sp 6

> #macro Gen
> Gen()

but

#macro Gen()
Gen()

works fine and causes parse error

ABX


Post a reply to this message

From: Gleb
Subject: Re: #macro crush
Date: 28 Dec 2001 09:17:26
Message: <3c2c7ef6@news.povray.org>
"W?odzimierz ABX Skiba" <abx### [at] babilonorg> wrote in message
news:esuo2ug5qnh9u92u60ajuhqo4r93nnmaap@4ax.com...
> > Two lines cause a stable crash at both POV 3.5 b9  and  POV 3.1g
>
> I can confirm it
> POV 3.5 b 9 on PII 233 128 MB with NT 4 Sp 6
>
> > #macro Gen
> > Gen()
>
> but
>
> #macro Gen()
> Gen()
>
> works fine and causes parse error

Yes, in this case it is works OK, as expected.

gleb


Post a reply to this message

From:
Subject: Re: #macro crush
Date: 28 Dec 2001 09:25:20
Message: <f00p2u0ac68675ju0o314thguj92q9np77@4ax.com>
On Fri, 28 Dec 2001 13:51:11 -0000, "Gleb" <gk1### [at] sotonacuk> wrote:
> #macro Gen
> Gen()

It causes crash only for the same token.
Following scenes generates only parse error:

First:
  #macro Gen Test()

Second:
  #macro Test()#end
  #macro Gen Test()

Third:
  #macro Gen() Gen()

Fourth:
  #macro Gen Gen

ABX


Post a reply to this message

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