POV-Ray : Newsgroups : povray.beta-test : New parser update : Re: New parser update Server Time
16 Apr 2024 10:26:17 EDT (-0400)
  Re: New parser update  
From: clipka
Date: 18 Sep 2018 20:04:04
Message: <5ba19274$1@news.povray.org>
Am 19.09.2018 um 01:37 schrieb Kenneth:
> clipka <ano### [at] anonymousorg> wrote:
> 
>>
>> For such a complex scene - with self-modifying code and shit - the
>> actual error scenario turned out to be almost disappointingly simple:
>>
>>     #macro Foo()
>>     #end
>>
>>     Foo()
>>          ^---- END OF FILE
>>
>> So invoking a macro immediately at the end of a file is what breaks stuff.
>>
> 
> Wow, that's weird. (the only useful comment I can make!)

Nah, not too weird - the code that switches between input files just
detects immediately upon returning that it can't read any bytes from the
file, and thinks this is a problem.

Well, not anymore it does. Fixed in the `refactor/tokenizer` branch, and
plan to do a tag and build a new Windows release soon-ish.


Post a reply to this message

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