|
![](/i/fill.gif) |
Skiba <abx### [at] babilon org> wrote:
> below script causes parsing error
> "Expected 'object or directive', ; found instead"
>
> #macro Test1() 1 #end
> #macro Test2() #if(yes) 2 #end #end
>
> #local F=Test1() // works
> #local F=Test1(); // works
> #local F=Test2() // works
> #local F=Test2(); // not
>
> Any confirmation ?
Semicolons are listed as required after every #local, #declare and #version
with a float, vector or color value. If you don't include the required
semicolon the problem is in your scene and the parser reports it as soon as
it is possible to report this.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |