Re: zend_highlight routine

From: Date: Fri, 12 Nov 2004 04:31:50 +0000
Subject: Re: zend_highlight routine
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-13827@lists.php.net to get a copy of this message
Hi Robert, I think you'll find it's Appendix P. I recently documented all the PHP 5 additions to that page, my problem is not getting a list of tokens, http://lxr.php.net/source/php-src/ext/tokenizer/tokenizer.c#167 It's getting a list of tokens for which token.type IS_NULL. Thanks, though... Aidan "Robert Janeczek" <rashid@ds.pg.gda.pl> wrote in message news:20041111113902.46337.qmail@pb1.pair.com... >> My problem is the token2color method, I'm not sure which tokens are >> classed as keywords. At the moment I've just guessed as many as I >> could think of, it's a bit ugly - presuming there is an easier way to >> do it. > > Appendix N. List of Parser Tokens in php manual > > rash

« previous php.internals (#13827) next »