Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6690 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18480 invoked by uid 1010); 23 Dec 2003 11:13:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18317 invoked from network); 23 Dec 2003 11:13:38 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 23 Dec 2003 11:13:38 -0000 Received: (qmail 20999 invoked from network); 23 Dec 2003 11:13:32 -0000 Received: from guardian.zend.office (HELO andi-laptop.zend.com) (10.1.1.4) by int.zend.com with SMTP; 23 Dec 2003 11:13:32 -0000 Message-ID: <5.1.0.14.2.20031223131310.020b5eb0@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 23 Dec 2003 13:13:30 +0200 To: internals@lists.php.net In-Reply-To: <266743437.20031222111432@vrana.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Syntax highlight From: andi@zend.com (Andi Gutmans) References: <266743437.20031222111432@vrana.cz> Has anyone who's played with the tokenizer lately checked if this patch is OK? Andi At 11:14 AM 12/22/2003 +0100, Jakub Vrana wrote: >Hello! > >Some characters (like [, ], {, } and backslash sequences) in double >quote strings are highlighted as keywords even on places where they >don't have any special meaning (like [] in "foo[] $a"). I mean >highlighted by `php -s` and highlight_* functions. > >These characters are not highlighted in constant strings (i.e. strings >without variables). > >To behave the same in both cases and to not confuse someone by >highlighting characters without special meaning, I am sending this >patch. > >Jakub Vrana > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php