Hi! > 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?
Right, yyparse is aliased to zendparse. yyparse is used for the symbol definition name (instead of zendparse) in the generated parser[1], where it will be replaced with zendparse by the preprocessor. Thanks, Tom [1]: https://gist.github.com/tpunt/c22aea1602594d6cfcc94f801d580241#file-zend_language_parser-c-L4489 <https://gist.github.com/tpunt/c22aea1602594d6cfcc94f801d580241#file-zend_language_parser-c-L4489>