Re: rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON
| From: | James Butler | Date: | Sat, 30 Oct 2010 23:51:12 +0000 |
| Subject: | Re: rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-50038@lists.php.net to get a copy of this message | ||
From a completely separate stand point. The ability to customise what token names show up as in an
error seems like a much better solution
--
James Butler
Sent from my iPhone
On 30 Oct 2010, at 21:41, "Chad Emrys" <admin@codeangel.org> wrote:
> On 10/30/2010 03:32 PM, Etienne Kneuss wrote:
>> lemon would indeed get rid of actual "names" for such tokens, and would
>> rather display "unnexpected ::".
>>
>> The problem with lemon is that it turns out to still be a tad bit slower
>> than yacc, with some complications on the grammar side (the compiler
>> helper functions were made for yacc). So unless there is a major speedup
>> breakthrough, it won't happen in a near future, sadly.
>>
>>
>
> So does that leave us back to square 1 with replacing the token name? Or
> is there another way that error messages can be tweaked to not show
> actual token names?
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>