Am 01.03.2016 um 23:08 schrieb Le_Forgeron:
> The heap is exhausted
I presume you mean "stack", right?
> NAAAAHHH, Parse_Write should use a pattern already use elsewhere, no more than one
recursion... or even none at all.
That would plug up only one of a guesstimated 4711 ways to coax the
POV-Ray parser into recursive calls.
Wanna bet that "#write" does the very same thing?
I think it would be more sensible to impose some arbitrary upper limit
to the nesting of Get_Token() calls; that would at least catch one
entire family of those 4711 ways.
Post a reply to this message
|