RE: [PHP-DEV] Help w/ Parser

2011-11-07 Thread Johannes Schlüter
To: php-...@zerocue.com > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Help w/ Parser > > I don't see an attachment. Could you send it again with .txt as file > extension? > > If you want 'get' to be recognized as T_GET you need to define such a token

RE: [PHP-DEV] Help w/ Parser

2011-11-07 Thread Clint M Priest
t a make clean/make still results in the same error. Is there something I need to run to process zend_language_scanner.l? -Original Message- From: Nikita Popov [mailto:nikita@googlemail.com] Sent: Monday, November 07, 2011 12:12 AM To: php-...@zerocue.com Cc: internals@lists.php.net Su

Re: [PHP-DEV] Help w/ Parser

2011-11-07 Thread Александр Москалёв
What about expressions between { } in getter_setter_declaration ? In your example we see "set {something}" and not "set {}" as you declared. Sorry if I wrong. I'm not C coder =) With regards, Alexander Moskaliov ir...@irker.net 2011/11/7 > I’m having trouble getting some changes to the pars

RE: [PHP-DEV] Help w/ Parser

2011-11-07 Thread Clint M Priest
:04 AM To: Hartmut Holzgraefe; php-...@zerocue.com Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Help w/ Parser On Mon, Nov 7, 2011 at 12:31, Hartmut Holzgraefe wrote: > On 11/07/2011 10:12 AM, Keloran wrote: >> >> this looks cool if you get it to work > > +1 want have! :)

Re: [PHP-DEV] Help w/ Parser

2011-11-07 Thread Hannes Magnusson
On Mon, Nov 7, 2011 at 12:31, Hartmut Holzgraefe wrote: > On 11/07/2011 10:12 AM, Keloran wrote: >> >> this looks cool if you get it to work > > +1 want have! :) Same here. As long as someone doesn't think this creates precedence for importing C# features and thinks implementing partial classes w

Re: [PHP-DEV] Help w/ Parser

2011-11-07 Thread Hartmut Holzgraefe
On 11/07/2011 10:12 AM, Keloran wrote: this looks cool if you get it to work +1 want have! :) -- hartmut -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Help w/ Parser

2011-11-07 Thread Keloran
this looks cool if you get it to work, move the object-orientation forwards quite abit On Mon, Nov 7, 2011 at 6:11 AM, Nikita Popov wrote: > I don't see an attachment. Could you send it again with .txt as file > extension? > > If you want 'get' to be recognized as T_GET you need to define such a

Re: [PHP-DEV] Help w/ Parser

2011-11-06 Thread Nikita Popov
I don't see an attachment. Could you send it again with .txt as file extension? If you want 'get' to be recognized as T_GET you need to define such a token in the lexer (zend_language_scanner.l). Did you do that? On Mon, Nov 7, 2011 at 3:53 AM, wrote: > I’m having trouble getting some changes t

[PHP-DEV] Help w/ Parser

2011-11-06 Thread php-dev
I'm having trouble getting some changes to the parser to recognize some new syntax. I've attached a patch of what I've done. Here is the syntax I am trying to get to be parsed properly: Seconds = $Seconds; } // Getters/Setters public $Hours { get { return $this->