Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52432 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41517 invoked from network); 17 May 2011 16:07:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 May 2011 16:07:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.22 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.22 smtp2.ist.utl.pt Linux 2.6 Received: from [193.136.128.22] ([193.136.128.22:33821] helo=smtp2.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/59-27887-13D92DD4 for ; Tue, 17 May 2011 12:07:14 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.ist.utl.pt (Postfix) with ESMTP id 2D23870003CC for ; Tue, 17 May 2011 17:07:10 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp2.ist.utl.pt ([127.0.0.1]) by localhost (smtp2.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id WtpPYXD6GSUC for ; Tue, 17 May 2011 17:07:09 +0100 (WEST) Received: from mail2.ist.utl.pt (mail.ist.utl.pt [IPv6:2001:690:2100:1::8]) by smtp2.ist.utl.pt (Postfix) with ESMTP id EF472700043D for ; Tue, 17 May 2011 17:07:09 +0100 (WEST) Received: from clk-0081.clk-domain (unknown [85.139.253.17]) (Authenticated sender: ist155741) by mail2.ist.utl.pt (Postfix) with ESMTPSA id DD42020082AA for ; Tue, 17 May 2011 17:07:09 +0100 (WEST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: internals@lists.php.net References: <8757232E56758B42B2EE4F9D2CA019C901418DCB@US-EX2.zend.net> Date: Tue, 17 May 2011 17:07:09 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Organization: =?utf-8?Q?N=C3=BAcleo_de_Eng=2E_Biom=C3=A9di?= =?utf-8?Q?ca_do_I=2ES=2ET=2E?= Message-ID: In-Reply-To: <8757232E56758B42B2EE4F9D2CA019C901418DCB@US-EX2.zend.net> User-Agent: Opera Mail/11.10 (Win32) Subject: Re: [PHP-DEV] Re: [RFC] Improved parser error message From: glopes@nebm.ist.utl.pt ("Gustavo Lopes") Em Tue, 17 May 2011 17:01:26 +0100, Andi Gutmans escreveu: > Read the archives. We discussed T_PAAMAYIM_NEKUDOTAYIM extensively and > agreed to keep it as a historical landmark. Let's not have the > discussion yet again within the same year. Google it just to see the # > of mentions. > > What we could do as a compromise between history and improving many of > the parse error messages is: > Parse error: syntax error, unexpected :: (T_PAAMAYIM_NEKUDOTAYIM) in > Command line code on line 1 > This proposal is not about changing the name of the token, only the message that's shown to the user. The token name will remain as is in zend_language_parser.y et al. If I recall correctly, there was not objection raised to changing the message in the last discussion. Anyway, +1 to the change from you. -- Gustavo Lopes