com php-src: Add yield from to frame leaving instructions: sapi/phpdbg/phpdbg_prompt.c

From: Date: Mon, 29 Jun 2015 00:05:33 +0000
Subject: com php-src: Add yield from to frame leaving instructions: sapi/phpdbg/phpdbg_prompt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87584@lists.php.net to get a copy of this message
Commit: f500471e8c27af61e3c213d183e583b49d8b42ee Author: Bob Weinand <bobwei9@hotmail.com> Mon, 29 Jun 2015 02:05:33 +0200 Parents: 5e16722309354a9750ea68e6951fb25a23158923 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f500471e8c27af61e3c213d183e583b49d8b42ee Log: Add yield from to frame leaving instructions Changed paths: M sapi/phpdbg/phpdbg_prompt.c Diff: diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index fc63c32..71de3a2 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; }

« previous php.cvs (#87584) next »