Project

General

Profile

« Previous | Next » 

Revision c5555e2e

Added by mame (Yusuke Endoh) about 6 years ago

CALLER_SETUP_ARG removes an empty keyword hash from argv

...only when a "remove_empty_keyword_hash" flag is specified.

After CALLER_SETUP_ARG is called, ci->flag & VM_CALL_KW_SPLAT must not
be used. Instead. use calling->kw_splat. This is because
CALLER_SETUP_ARG may modify argv and update calling->kw_splat, and
ci->flag & VM_CALL_KW_SPLAT may be inconsistent with the result.