jscript: Added empty statement implementation.
This commit is contained in:
parent
a7ede8f272
commit
b40b352c8f
|
@ -114,8 +114,10 @@ HRESULT var_statement_eval(exec_ctx_t *ctx, statement_t *stat, return_type_t *rt
|
|||
|
||||
HRESULT empty_statement_eval(exec_ctx_t *ctx, statement_t *stat, return_type_t *rt, VARIANT *ret)
|
||||
{
|
||||
FIXME("\n");
|
||||
return E_NOTIMPL;
|
||||
TRACE("\n");
|
||||
|
||||
V_VT(ret) = VT_EMPTY;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT expression_statement_eval(exec_ctx_t *ctx, statement_t *stat, return_type_t *rt, VARIANT *ret)
|
||||
|
|
|
@ -349,6 +349,7 @@ static void parse_script_a(const char *src)
|
|||
static void run_tests(void)
|
||||
{
|
||||
parse_script_a("");
|
||||
parse_script_a("/* empty */ ;");
|
||||
}
|
||||
|
||||
START_TEST(run)
|
||||
|
|
Loading…
Reference in New Issue