Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36160 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91670 invoked from network); 16 Mar 2008 22:35:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2008 22:35:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:50294] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/A6-00283-D90ADD74 for ; Sun, 16 Mar 2008 17:35:09 -0500 Received: from MBOERGER-ZRH (221-174.79-83.cust.bluewin.ch [83.79.174.221]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 8E44011F004; Sun, 16 Mar 2008 23:35:06 +0100 (CET) Date: Sun, 16 Mar 2008 23:35:03 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1089066396.20080316233503@marcus-boerger.de> To: "Edward Z. Yang" CC: internals@lists.php.net In-Reply-To: <80.D5.00283.06E9DD74@pb1.pair.com> References: <904802034.20080316222935@marcus-boerger.de> <80.D5.00283.06E9DD74@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Re: [ANNOUNCE] Scanner to be based on re2c From: helly@php.net (Marcus Boerger) Hello Edward, Sunday, March 16, 2008, 11:25:34 PM, you wrote: > Here is a patch that appears to fix the Windows build: > http://www.thewritingpot.com/patches/php-re2c-windows.patch > I made re2c required; if pre-generated files are supplied, however, we > might be able to get away without it. I think we need to have the windows build maintainers decide how they would like to handle this. One thing we haven't decided on is how to deal with checkin of re2c generated files. In fact we need them to be done without -g flag. So when someone commots who has -g detection on, he must regenerate the file without that. Another option is to always generate both versions and then select the correc one form the build system. > I also had to download re2c binaries from > http://sourceforge.net/project/showfiles.php?group_id=96864 and put them > in my path. Whoever's maintaining zip.zip will want to update it. > It appears Visual C++ 2005 Express does not support gotos to variable > labels (it does support vanilla gotos out of the box, however). So I > didn't bother porting the goto check code. Someone might want to do that > later if we start supporting other compilers. > Zend-related source files appear to have compiled successfully; re2c > didn't give any output and exited with error code 0 (I assume it worked). Sounds right. Re2c does not output anything besides the generated files, when successfull. Best regards, Marcus