Thanks, but SDL ignores whitespace.
Has anyone tried my example and reproduced the problem?
-Scott
"Timothy R. Cook" <z99### [at] bellsouthnet> wrote in message
news:3D0### [at] bellsouthnet...
> Scott Wasson wrote:
> > texture {
> > #if (0)
> > pigment { Blue }
> > #else
> > pigment { Green }
> > #end //if(0)
> > }
> > Any #-whatever within the 2nd layer texture causes this error. Try
> > replacing the #if .. #else .. #end with #declare causeParseError = 1;
>
> If POV SDL is like C, might need to have #if flush with
> left margin, instead of indenting it.
>
> --
> Tim Cook
> http://empyrean.scifi-fantasy.com
> mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
> N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
> PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
> D++(---) G(++) e*>++ h+ !r--- !y--
> ------END GEEK CODE BLOCK------
>
Post a reply to this message
|