Re: definition of zendparse
| From: | Ryan McCullagh | Date: | Mon, 26 Feb 2018 19:24:20 +0000 |
| Subject: | Re: definition of zendparse | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101936@lists.php.net to get a copy of this message | ||
It seems that the define is backwards though. ‘#define yyparse zendparse’ still depends on a
zendparse symbol. There is no function definition for zendparse. All I can see is yyparse in the
generated file. What are your thoughts?
Sent from my iPhone
> On Feb 24, 2018, at 9:02 PM, Kalle Sommer Nielsen <kalle@php.net> wrote:
>
> Hi Ryan
>
> 2018-02-25 3:42 GMT+01:00 Ryan McCullagh <me@ryanmccullagh.com>:
>> I can't find this anywhere after a compile of master.
grep -r -n
>> 'zendparse' *. I see that there are declarations of zendparse, but there
>> is no definition as far as I can see. How is this happening?
>
> This comes from the Zend/zend_language_parser.y file in its generated
> form, the yyparse name is set to zendparse (through #define yyparse
> zendparse)
>
> --
> regards,
>
> Kalle Sommer Nielsen
> kalle@php.net