[PATCH 2/2] vbscript: Handle Recursive calls.

Jacek Caban jacek at codeweavers.com
Fri Oct 1 07:11:43 CDT 2021


On 10/1/21 8:13 AM, Robert Wilhelm wrote:
> diff --git a/dlls/vbscript/vbscript.h b/dlls/vbscript/vbscript.h
> index f5353b33cae..b23df0fc589 100644
> --- a/dlls/vbscript/vbscript.h
> +++ b/dlls/vbscript/vbscript.h
> @@ -57,6 +57,7 @@ typedef struct _vbdisp_t vbdisp_t;
>
>   typedef enum {
>       VBDISP_CALLGET,
> +    VBDISP_IDENT,
>       VBDISP_LET,
>       VBDISP_SET,
>       VBDISP_ANY


This will cause a new entry in vbdisp_funcprop_desc_t.


Since the distinction matters only to do_icall, how about fixing the 
problem there? It could detect check for recursive appropriate and don't 
call lookup_identifier in that case.


Thanks,

Jacek




More information about the wine-devel mailing list