Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_language_scanner.l
| From: | Derick Rethans | Date: | Thu, 28 Nov 2002 17:08:19 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_language_scanner.l | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-663@lists.php.net to get a copy of this message | ||
On Thu, 28 Nov 2002, Marcus Börger wrote:
> It would be better to return T_PUBLIC instead of T_VAR and handle
> T_PUBLIC in the parser since we want to have public,protected and
> private member functions. See patch is below:
Why? It's exactly the same. Introducing new tokens which don't add
anything doesn't look right to me.
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions http://www.jdimedia.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------