diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-06-29 02:05:33 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-06-29 02:05:33 +0200 |
commit | f500471e8c27af61e3c213d183e583b49d8b42ee (patch) | |
tree | 200cb5815de7826a646b511ea3d590bebf5f4996 /sapi/phpdbg/phpdbg_prompt.c | |
parent | 5e16722309354a9750ea68e6951fb25a23158923 (diff) | |
download | php-git-f500471e8c27af61e3c213d183e583b49d8b42ee.tar.gz |
Add yield from to frame leaving instructions
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_prompt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index fc63c32fa3..71de3a2f7b 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -493,6 +493,7 @@ int phpdbg_skip_line_helper() /* {{{ */ { || opline->opcode == ZEND_GENERATOR_RETURN || opline->opcode == ZEND_EXIT || opline->opcode == ZEND_YIELD + || opline->opcode == ZEND_YIELD_FROM ) { zend_hash_index_update_ptr(&PHPDBG_G(seek), (zend_ulong) opline, (void *) opline); break; @@ -537,6 +538,7 @@ static void phpdbg_seek_to_end(void) /* {{{ */ { case ZEND_GENERATOR_RETURN: case ZEND_EXIT: case ZEND_YIELD: + case ZEND_YIELD_FROM: zend_hash_index_update_ptr(&PHPDBG_G(seek), (zend_ulong) opline, (void *) opline); return; } |