Use emulative lexer for < 5.6RC1

Earlier releases come with incorrect tokenizer data for T_POW and
T_POW_EQUAL.
This commit is contained in:
nikic 2014-08-31 16:33:41 +02:00
parent 7c81229261
commit 616be1d0fc

View File

@ -16,7 +16,7 @@ class Emulative extends \PhpParser\Lexer
const T_POW = 1002;
const T_POW_EQUAL = 1003;
const PHP_5_6 = '5.6.0beta1';
const PHP_5_6 = '5.6.0rc1';
const PHP_5_5 = '5.5.0beta1';
const PHP_5_4 = '5.4.0beta1';