mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
Márcio Almada remove dead tokens: T_CHARACTER, T_BAD_CHARACTER.
This commit is contained in:
parent
3121116a93
commit
e9f99e3d71
@ -150,8 +150,6 @@ static YYSIZE_T zend_yytnamerr(char*, const char*);
|
||||
%token T_ELSEIF "elseif (T_ELSEIF)"
|
||||
%token T_ELSE "else (T_ELSE)"
|
||||
%token T_ENDIF "endif (T_ENDIF)"
|
||||
%token T_CHARACTER
|
||||
%token T_BAD_CHARACTER
|
||||
%token T_ECHO "echo (T_ECHO)"
|
||||
%token T_DO "do (T_DO)"
|
||||
%token T_WHILE "while (T_WHILE)"
|
||||
|
@ -96,8 +96,6 @@ void tokenizer_register_constants(INIT_FUNC_ARGS) {
|
||||
REGISTER_LONG_CONSTANT("T_NUM_STRING", T_NUM_STRING, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_EXIT", T_EXIT, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_IF", T_IF, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_CHARACTER", T_CHARACTER, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_BAD_CHARACTER", T_BAD_CHARACTER, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_ECHO", T_ECHO, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_DO", T_DO, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_WHILE", T_WHILE, CONST_CS | CONST_PERSISTENT);
|
||||
@ -236,8 +234,6 @@ char *get_token_type_name(int token_type)
|
||||
case T_NUM_STRING: return "T_NUM_STRING";
|
||||
case T_EXIT: return "T_EXIT";
|
||||
case T_IF: return "T_IF";
|
||||
case T_CHARACTER: return "T_CHARACTER";
|
||||
case T_BAD_CHARACTER: return "T_BAD_CHARACTER";
|
||||
case T_ECHO: return "T_ECHO";
|
||||
case T_DO: return "T_DO";
|
||||
case T_WHILE: return "T_WHILE";
|
||||
|
Loading…
Reference in New Issue
Block a user