POV-Ray : Newsgroups : povray.bugreports : Parse Error : Re: Parse Error Server Time
25 Apr 2024 23:29:18 EDT (-0400)
  Re: Parse Error  
From: James Holsenback
Date: 18 Nov 2013 14:42:00
Message: <528a6d88$1@news.povray.org>
On 11/18/2013 02:18 PM, clipka wrote:
> Am 18.11.2013 19:57, schrieb James Holsenback:
>> Wanted to see if anyone else could duplicate before I file a bug report
>> ..... I'm getting this parse error:
>>
>> File '/users/ash/POV-Ray/Includes/3LTable_POV_mat.inc' line 16: Parse
>> Error:
>>   Expected 'undeclared identifier', macro identifier found instead
>> Fatal error in parser: Cannot parse input.
>> Render failed
>>
>> After troubleshooting it turns out that:
>>
>> #declare MetalMaterial = fails and #declare MetalMateria = passes ...
>> according to docs up to 40 characters allowed ... hmmm that can't be it.
>> Have I bumped into a reserved declaration????
>
> As the error message indicates, it seems that somewhere before the
> inclusion of that .inc file, your scene - or some other .inc file it
> happens to include - has already defined that very same identifier as a
> macro.
>
> POV-Ray hates you when you try re-defining macro identifiers as
> something else, unless you #undef that macro first.
>

LOL ... well crap it was in an include file I was calling (but not using 
anymore)


Post a reply to this message

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