jscript: Added empty statement implementation.

This commit is contained in:
Jacek Caban 2008-09-05 02:39:07 +02:00 committed by Alexandre Julliard
parent a7ede8f272
commit b40b352c8f
2 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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)