|
![](/i/fill.gif) |
Am 07.01.2011 11:52, schrieb Jim Holsenback:
> On 01/07/2011 03:14 AM, Robert Baer wrote:
>> Now i have an #if..#end problem that is bugging me:
>
>> // MATCHED #if..#end recognized to here..
>
> yep ... looked ok to me too (hard to tell messy sytle)
>
>> // but not to here..
>> // get "Parse Error: End of file reached but #end expected."
>> sky_sphere {pigment {rgb<0.859,0.910,0.831>}}
>> *** END FILE ***
>
> maybe some thing in the include file is miss-matched ... dunno if the
> parser looks at the include as a seperate entity or considers it as part
> of the entire scene file when resolving conditional blocks ... /think/
> it's the former
No, the parser doesn't systematically check whether the #if and other
blocks of an #include file are fully matched.
An exception is when the parser encounters an #end for a loop it is
currently processing; in that case the #while or #for must reside in the
same file as the terminating #end.
Post a reply to this message
|
![](/i/fill.gif) |