Re: rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON

From: Date: Sat, 30 Oct 2010 20:41:22 +0000
Subject: Re: rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-50037@lists.php.net to get a copy of this message
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?

« previous php.internals (#50037) next »