mirror of
https://github.com/php/php-src.git
synced 2025-01-19 10:13:38 +08:00
and clean the tokenizer too
This commit is contained in:
parent
d7c9c5af92
commit
aa29bd5d73
@ -66,8 +66,6 @@ void tokenizer_register_constants(INIT_FUNC_ARGS) {
|
||||
REGISTER_LONG_CONSTANT("T_ARRAY_CAST", T_ARRAY_CAST, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_STRING_CAST", T_STRING_CAST, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_DOUBLE_CAST", T_DOUBLE_CAST, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_SCALAR_CAST", T_SCALAR_CAST, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_NUMERIC_CAST", T_NUMERIC_CAST, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_INT_CAST", T_INT_CAST, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_DEC", T_DEC, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_INC", T_INC, CONST_CS | CONST_PERSISTENT);
|
||||
@ -200,8 +198,6 @@ char *get_token_type_name(int token_type)
|
||||
case T_ARRAY_CAST: return "T_ARRAY_CAST";
|
||||
case T_STRING_CAST: return "T_STRING_CAST";
|
||||
case T_DOUBLE_CAST: return "T_DOUBLE_CAST";
|
||||
case T_SCALAR_CAST: return "T_SCALAR_CAST";
|
||||
case T_NUMERIC_CAST: return "T_NUMERIC_CAST";
|
||||
case T_INT_CAST: return "T_INT_CAST";
|
||||
case T_DEC: return "T_DEC";
|
||||
case T_INC: return "T_INC";
|
||||
|
Loading…
Reference in New Issue
Block a user