Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79408 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99715 invoked from network); 4 Dec 2014 01:39:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2014 01:39:41 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.182 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.223.182 mail-ie0-f182.google.com Received: from [209.85.223.182] ([209.85.223.182:57138] helo=mail-ie0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/8A-15597-C5BBF745 for ; Wed, 03 Dec 2014 20:39:40 -0500 Received: by mail-ie0-f182.google.com with SMTP id x19so14882096ier.27 for ; Wed, 03 Dec 2014 17:39:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/ZtVhB6M1WPU5Iyanefqh528luv1nGCTirf6LmDYOqo=; b=tZ9flDCfA9Cjp6MFR60gGaaafjD/nOZe0EiwW0SqMZJv2pcEMp3GRxEF2EMEVg5aIn 1xs2kNb3zYEoY/uxE3b3AXx22QuB2jpPFpAzoPYlPS8m//ESvcG/AdaEiIxfHc7CayNz r+WN8veJiqoEYOxidJyf6MXFn+UbxX+Co1e8AElmHo+jJZvU911rs25PZxguFe1F3KmX Vj0X2aCBgd/T8P2oKtw70iFfqHTUU4Fb55GLSBUY8oEgFjLh+rgHsDMJEjgSv/qPUd/U U0fvpCejqRkki73zCzr1LY3xeHij4ciwDzNjbAO81icW+jexonfQFDlT80lGNHuLNEQH oD8Q== X-Received: by 10.107.131.133 with SMTP id n5mr7621825ioi.30.1417657176725; Wed, 03 Dec 2014 17:39:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.238.75 with HTTP; Wed, 3 Dec 2014 17:39:16 -0800 (PST) In-Reply-To: References: Date: Wed, 3 Dec 2014 20:39:16 -0500 Message-ID: To: Levi Morrison Cc: PHP internals Content-Type: multipart/alternative; boundary=001a113ebbf86e9f1005095a08bd Subject: Re: [PHP-DEV] Zend language parser improvements From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --001a113ebbf86e9f1005095a08bd Content-Type: text/plain; charset=UTF-8 On Wed, Dec 3, 2014 at 8:06 PM, Levi Morrison wrote: > The parser changes need to be careful reviewed; I don't have time at > the moment to verify it but I think you unintentionally allowed some > syntax's that shouldn't be valid because of the addition to > `inner_statement`. > Shouldn't. I broke down class_declaration_statement into 3 pieces: class_declaration_statement, interface_declaration_statement and trait_declaration_statement. At the end, all I've done is adding the other 2 new rules back to where it was consumed. > > Maybe I just looked too quickly. In any case, parser changes should > always get several people reviewing them. > Agreed. =) -- Guilherme Blanco MSN: guilhermeblanco@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada --001a113ebbf86e9f1005095a08bd--