Sara Golemon
0fb640c717
Fix bug where yield from is captured too greedily
...
In the following piece of code:
```php
function from1234($x) {
return $x;
}
function foo($x) {
yield from1234($x);
}
```
The statement inside foo is taken as `yield from` `1234($x)`
which is neither the intent, nor even legal syntax for an fcall.
Do a lookahead for breaking non-label characters after the
`yield from` and only accept it if they occur.
2017-03-23 13:31:06 -07:00
..
2015-05-17 17:31:43 -05:00
2015-05-17 18:47:06 +02:00
2015-06-23 20:17:30 +02:00
2015-06-20 18:38:59 +02:00
2015-06-23 20:17:30 +02:00
2015-05-17 18:47:06 +02:00
2015-05-17 17:31:43 -05:00
2015-05-17 17:31:43 -05:00
2015-05-16 16:49:14 -05:00
2015-04-14 16:35:23 +02:00
2015-11-24 23:43:34 +01:00
2015-11-25 09:54:24 +01:00
2015-12-06 02:45:19 +01:00
2016-01-07 11:56:21 +01:00
2016-01-24 19:55:16 +01:00
2016-02-15 22:37:21 +01:00
2015-05-17 17:31:43 -05:00
2016-02-11 16:25:16 +01:00
2015-05-14 17:07:32 +03:00
2015-07-24 22:04:05 +02:00
2015-03-18 16:14:02 -04:00
2015-05-17 18:47:06 +02:00
2015-05-14 17:17:39 +02:00
2015-05-17 18:47:06 +02:00
2016-11-28 12:20:19 +03:00
2015-03-17 21:51:53 +01:00
2015-03-17 21:51:53 +01:00
2015-03-17 21:51:53 +01:00
2015-12-24 15:19:31 +01:00
2015-11-24 23:43:34 +01:00
2016-07-23 16:39:21 +02:00
2015-05-17 18:47:06 +02:00
2015-05-17 18:47:06 +02:00
2015-11-25 23:09:44 +01:00
2015-05-17 17:31:43 -05:00
2015-05-17 18:47:06 +02:00
2015-05-17 18:47:06 +02:00
2015-05-17 17:31:43 -05:00
2016-02-12 17:55:29 +01:00
2015-04-14 17:58:58 +02:00
2016-05-28 13:21:05 +02:00
2017-03-23 13:31:06 -07:00
2015-04-21 19:42:23 +02:00
2015-05-17 18:47:06 +02:00
2015-03-07 20:59:42 +01:00