POV-Ray : Newsgroups : povray.bugreports : Parse Error : Re: Parse Error Server Time
26 Apr 2024 05:01:06 EDT (-0400)
  Re: Parse Error  
From: clipka
Date: 18 Nov 2013 14:18:54
Message: <528a681e$1@news.povray.org>
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.


Post a reply to this message

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