[PATCH] vbscript: Handle recursive call.

Jacek Caban jacek at codeweavers.com
Mon Sep 27 10:22:22 CDT 2021


Hi Robert,

On 9/24/21 6:02 PM, Robert Wilhelm wrote:
> Hi Jacek,
>
> thank you for the review and the testcase.
>
> It seems it cannot be solved in interpreter alone, because bytecode for y=f and y=f() is same in following example.
>
> I would be glad on advice how to fix this...


Something like the attached patch should take care of required compiler 
changes. The interpreter part just replicates the existing behaviour, 
but it should be possible to implement proper behaviour on top of that.


Thanks,

Jacek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vbscript.diff
Type: text/x-patch
Size: 4809 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210927/768486a7/attachment.bin>


More information about the wine-devel mailing list