Re: Syntax highlight

From: Date: Tue, 23 Dec 2003 11:13:30 +0000
Subject: Re: Syntax highlight
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-6690@lists.php.net to get a copy of this message
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


« previous php.internals (#6690) next »