Commit fad15f78 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

vbscript: Added interp_concat implementation.

parent e06017b2
...@@ -369,8 +369,26 @@ static HRESULT interp_equal(exec_ctx_t *ctx) ...@@ -369,8 +369,26 @@ static HRESULT interp_equal(exec_ctx_t *ctx)
static HRESULT interp_concat(exec_ctx_t *ctx) static HRESULT interp_concat(exec_ctx_t *ctx)
{ {
FIXME("\n"); variant_val_t r, l;
return E_NOTIMPL; VARIANT v;
HRESULT hres;
TRACE("\n");
hres = stack_pop_val(ctx, &r);
if(FAILED(hres))
return hres;
hres = stack_pop_val(ctx, &l);
if(SUCCEEDED(hres)) {
hres = VarCat(l.v, r.v, &v);
release_val(&l);
}
release_val(&r);
if(FAILED(hres))
return hres;
return stack_push(ctx, &v);
} }
static const instr_func_t op_funcs[] = { static const instr_func_t op_funcs[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment