Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101937 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3555 invoked from network); 26 Feb 2018 19:43:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Feb 2018 19:43:39 -0000 Authentication-Results: pb1.pair.com header.from=tpunt@hotmail.co.uk; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tpunt@hotmail.co.uk; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.co.uk designates 40.92.68.75 as permitted sender) X-PHP-List-Original-Sender: tpunt@hotmail.co.uk X-Host-Fingerprint: 40.92.68.75 mail-oln040092068075.outbound.protection.outlook.com Received: from [40.92.68.75] ([40.92.68.75:46392] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0B/B1-25585-863649A5 for ; Mon, 26 Feb 2018 14:43:38 -0500 Received: from AM5EUR02FT021.eop-EUR02.prod.protection.outlook.com (10.152.8.59) by AM5EUR02HT190.eop-EUR02.prod.protection.outlook.com (10.152.9.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.485.12; Mon, 26 Feb 2018 19:43:33 +0000 Received: from AM4PR0901MB1265.eurprd09.prod.outlook.com (10.152.8.57) by AM5EUR02FT021.mail.protection.outlook.com (10.152.8.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.485.12 via Frontend Transport; Mon, 26 Feb 2018 19:43:33 +0000 Received: from AM4PR0901MB1265.eurprd09.prod.outlook.com ([fe80::acc6:ba2e:976d:56d5]) by AM4PR0901MB1265.eurprd09.prod.outlook.com ([fe80::acc6:ba2e:976d:56d5%5]) with mapi id 15.20.0527.021; Mon, 26 Feb 2018 19:43:33 +0000 To: Ryan McCullagh , Kalle Sommer Nielsen CC: Internals Thread-Topic: [PHP-DEV] definition of zendparse Thread-Index: AQHTreJkgL4g8h3AFkqWOhie4tW6FKO0blaAgAKksgCAAAL06A== Date: Mon, 26 Feb 2018 19:43:32 +0000 Message-ID: References: <1519526574.1306843.1282347624.22C4E305@webmail.messagingengine.com> , In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:734F9E0E53FB2FD890093A4420A4FEDB30F2FD7313E39B1EED0A1F983A7FDCF6;UpperCasedChecksum:40D2CC240930790C91A62A492C01E6E8ABB684C042F2198D025879C50B396A72;SizeAsReceived:7422;Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [NpnPusfgt2tGxRo70iEKxiGomMnPNfL5vHCl+06WQxW0RHz0IcB/ab/p25HCloCcTmfwoXv3VZQ=] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM5EUR02HT190;6:5KiIdARW3yxwYZbG/w+eM9N8rH8If9y4n11Nth2DuxGrKNY8ou+xYpRsrHZFlIKXkKsj5EtAu6AQQ6szW4oH+Iqytbv1qadcycyXbA43JW4XzDhwGzFgT/M8Ia4UCgA8klqo8hPD67eaWlaIwKC1HlM6LZ7TkOamXPMptpx8AUnb9yYTCY0iXQ3+Gzas2epvlMWyrKrB3awnmiI2stLlip8/Z3HIp285i5ZsHRIbK7soloKa1mvlEozZv/1iwR1qYrb9ldMJHRgVVMgzFh23hrYF1ieU0Sc760XYqoO/QBcpro3mOkWqUUTqg59i0HXNx3GVfsRfQUVRRnrVaWG/lnayCxjMfTPylr/pzyfcADs=;5:2iZ6srrBxXtZ5MaAK1nPPVV5Fpr1tSvTo5VTO7esa8W6zqbg2jwHolv/vSUcKg8e4ZZ1jCfhF7n+sV0xJaeRAtgaEb9eYNoEwBfBjP7atWaW3tGQLIWaZpNXxYZCHAA0YOp9VBk0CraEk05KLghvhnacmBkJFP7uP58eT1UEoKw=;24:iPJofi5q5hc7wo8Kx/EGzWxSm/ie9iy89i0hQwSdfBJm7dSl1c4AIuUfb86mEn9fWSUSvKJP36nmlfj8TYUJFGNKVNnwyX/D/6ftcbWZy0k=;7:jySNNqQT+6jyfcCDpM0VmdU4S+/IPgXBdKU1GEXa29qCuCYF1smwYAn6Lko0b2n/22oxiCmSQzwNMw2tG3T0+zWhjclZI5EezL/8NLTureVuPGeV1JEDx3vhLzIaDV7tP5xXw7+wRTJ+IppPcOJfX1PolSqR7cola6OZl+57nDlz16RMjjtgogXIcfkFmVwfqpb7Jm4T+0cNfmQp0Vz6JkzxGihpcoWvj151RjfN+Ro24Kw3kjBk1xZODVh8znpR x-incomingheadercount: 47 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045);SRVR:AM5EUR02HT190; x-ms-traffictypediagnostic: AM5EUR02HT190: x-ms-office365-filtering-correlation-id: e0aa5484-05f7-480d-e9c1-08d57d513823 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(444000031);SRVR:AM5EUR02HT190;BCL:0;PCL:0;RULEID:;SRVR:AM5EUR02HT190; x-forefront-prvs: 05954A7C45 x-forefront-antispam-report: SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:AM5EUR02HT190;H:AM4PR0901MB1265.eurprd09.prod.outlook.com;FPR:;SPF:None;LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_AM4PR0901MB12652DA03CA79EC285862224F9C10AM4PR0901MB1265_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e0aa5484-05f7-480d-e9c1-08d57d513823 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2018 19:43:32.9712 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT190 Subject: Re: [PHP-DEV] definition of zendparse From: tpunt@hotmail.co.uk (Thomas Punt) --_000_AM4PR0901MB12652DA03CA79EC285862224F9C10AM4PR0901MB1265_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi! > It seems that the define is backwards though. =91#define yyparse zendpars= e=92 still depends on a zendparse symbol. There is no function definition f= or 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 defi= nition name (instead of zendparse) in the generated parser[1], where it wil= l be replaced with zendparse by the preprocessor. Thanks, Tom [1]: https://gist.github.com/tpunt/c22aea1602594d6cfcc94f801d580241#file-ze= nd_language_parser-c-L4489 --_000_AM4PR0901MB12652DA03CA79EC285862224F9C10AM4PR0901MB1265_--