Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74602 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70058 invoked from network); 28 May 2014 18:39:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2014 18:39:14 -0000 Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.44 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.192.44 mail-qg0-f44.google.com Received: from [209.85.192.44] ([209.85.192.44:41249] helo=mail-qg0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 67/CC-02991-E4D26835 for ; Wed, 28 May 2014 14:39:12 -0400 Received: by mail-qg0-f44.google.com with SMTP id i50so19080575qgf.3 for ; Wed, 28 May 2014 11:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=AIHO81jvS2Tu4IDvtStdQXr2xmRIYggW9NBTmASBl+Y=; b=rXONhKRCQRwrxzB/mOgJ02Ek1oaFg9GDzqvT+Y+d3ThY6p47G0nHzXaw6+LzTkhwyc mAyrbxUbqGhg8CTvUyyzojFofRlBDclVVHKf5lXzdPfA5JfyNaj7LE6OVj1ZjtWAG/r/ HCJdAmLGVk7AS2ybLcAk6VA74qKKI2TDe/PTfS3DkaTvL+HyB+GCc9X60fyXXHoJ4E0l UgDGFRLfI0w6cCuSGocAFG0nvcl0NLXnn7kHyJNwMat654PQwXzYS86AbJ45FwkISbtl aEAURLp7V3eTlN4dkTOKMDI32XSXhAc5xxU1vKpAovMBWoW99bKqDCpRZHbZshIKqj6O A2nw== MIME-Version: 1.0 X-Received: by 10.224.92.144 with SMTP id r16mr2482709qam.10.1401302347755; Wed, 28 May 2014 11:39:07 -0700 (PDT) Sender: jakub.php@gmail.com Received: by 10.224.194.73 with HTTP; Wed, 28 May 2014 11:39:07 -0700 (PDT) In-Reply-To: <1401282869.2998.84.camel@guybrush> References: <2DC459EE-AE98-4CAE-977A-6FB918FDEF54@bafford.com> <537EA42B.4000000@lerdorf.com> <1401282869.2998.84.camel@guybrush> Date: Wed, 28 May 2014 19:39:07 +0100 X-Google-Sender-Auth: KbeTPw8b4pKFySKbBkUcr_tSFns Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: Derick Rethans , Julien Pauli , Pierre Joye , John Bafford , Rasmus Lerdorf , PHP internals , Ferenc Kovacs Content-Type: multipart/alternative; boundary=089e015386a2a937d104fa7a206f Subject: Re: [PHP-DEV] Bison 3 support for PHP 5.5 From: bukka@php.net (Jakub Zelenka) --089e015386a2a937d104fa7a206f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, May 28, 2014 at 2:14 PM, Johannes Schl=C3=BCter wrote: > On Wed, 2014-05-28 at 14:05 +0100, Jakub Zelenka wrote: > > Ooops. We don't actaully distribute tab files. Thought that we do... :) > > > > Wouldn't be better to add them to the git? What's the actual reason to > not > > to add them. The same thing we do for scanner files already. I'm not > aware > > that bison would generate some platform specific tab files...? > > We don't in git ut snapshots and releases. Git is only for developers. > Having generated files in version control is questionable as this leads > to annoyance when timestamps come out wrong they are recreated using a > different tool version and then are being committed or have conflicts > "all the time". > > That would make sense if we didn't have re2c generated files in the repo already. Anyway I see your point. Bison version varies across the systems more than re2c so the diffs in files would be more often which is not a good idea... The solution could be to stick just with one version of bison for people that want to do changes to the grammar. It should be possible fail the make phase (not configuration) when the version is different (for example empty YACC variable when the version is different and then add check to Makefile.frag or something like that). During the configuration you would just get a warning. But that's a bit off topic and just an idea that could be considered only for new major version... :) Jakub --089e015386a2a937d104fa7a206f--