Den 2015-10-01 kl. 11:47, skrev Pavel Kouřil:
How does hack solve this? Do they have backtracking in their parser?
It was discussed earlier & Bob answered it, a T_LAMDA_OP is inserted
by a token token-pre-parser before hitting the real parser, see:
Subject: Re: [PHP-DEV] [RFC] [Discussion] Shor
>
> How does hack solve this? Do they have backtracking in their parser?
>
> It was discussed earlier & Bob answered it, a T_LAMDA_OP is inserted
> by a token token-pre-parser before hitting the real parser, see:
>
> Subject: Re: [PHP-DEV] [RFC] [Discussion] Short Closures
> Date: Sun, 6 Sep 2015 1