Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43640 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47145 invoked from network); 6 Apr 2009 18:22:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Apr 2009 18:22:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=php_lists@realplain.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php_lists@realplain.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain realplain.com from 209.151.69.1 cause and error) X-PHP-List-Original-Sender: php_lists@realplain.com X-Host-Fingerprint: 209.151.69.1 liberty.vosn.net Linux 2.4/2.6 Received: from [209.151.69.1] ([209.151.69.1:35739] helo=liberty.vosn.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/9F-02528-2784AD94 for ; Mon, 06 Apr 2009 14:22:42 -0400 Received: from 75-120-53-110.dyn.centurytel.net ([75.120.53.110]:56654 helo=pc1) by liberty.vosn.net with smtp (Exim 4.69) (envelope-from ) id 1LqtSw-00036F-Bq; Mon, 06 Apr 2009 12:22:38 -0600 Message-ID: <08D45CD5FF6A4A30BA67DC2D50CB5F52@pc1> To: "php-dev List" , Cc: "Lukas Kahwe Smith" , "Pierre Joye" , "Dmitry Stogov" , "Christian Seiler" References: <90FF707C-391F-4FF4-8C5E-2AECEB48EB78@pooteeweet.org> <7C741E86-7720-4C87-8A43-BCC34520F0B5@pooteeweet.org> <0729A9B70D864C6E929169523CEBCB11@pc1> <49DA38C7.10006@php.net> Date: Mon, 6 Apr 2009 13:22:35 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - liberty.vosn.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - realplain.com Subject: Re: [PHP-DEV] RC2 and integer/float handling in 5.3 From: php_lists@realplain.com ("Matt Wilmas") Hi Brian, ----- Original Message ----- From: "shire" Sent: Monday, April 06, 2009 > Matt Wilmas wrote: >> Oh, other than that about the RC2 subject, I was also going to propose >> some scanner changes like I mentioned to Brian on the 26th. Assuming it >> works like in my head, it would basically be a big "diet" for the >> scanner, making string/comment handling smaller and simpler, while >> addressing the cause (for strings/comments at least) of Bug #46817 >> (tokenizer misses last single-line comment) which is wrongly marked >> Closed and DONE on the wiki. Before RC1, Brian reverted his changes >> that, I guess, had fixed it. > > It is? I just tested this again to be sure something wasn't missed and it > looks like it's working to me. Which test case where you using? Yep, 5.3's snapshot self-compiled from a couple days ago on Windows (not that that should matter). (I'm not regenerating it with re2c, which also shouldn't matter; using the existing .c file. I haven't touched the scanner stuff in a long time (yet) to regen.) Scanner of course hasn't changed since then. Test case is the one in the bug report. :-) Last token is not the comment, but whitespace. No problem on 5.2.9. (From the scanner code, and current re2c behavior, I don't see why the behavior would be different than what I'm getting.) Also, the unterminated comment Warning is still missing with " -shire - Matt