diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-03-14 01:08:03 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-03-14 01:08:03 +0300 |
commit | d1585a9e3f7c6e3da7177f07c68b250543d8fbf2 (patch) | |
tree | 8eed5fe2058e82b66cb3447f12fd119a1117f123 /ext/tokenizer/tokenizer_data.c | |
parent | 0d6da03f5c3e49b92cf6817ba8a7f8d6f60ee1aa (diff) | |
download | php-git-d1585a9e3f7c6e3da7177f07c68b250543d8fbf2.tar.gz |
Revert "Handle scanner error in first place (don't hide them from ext/tokenizer) and cheaper whitespace handlig."
This reverts commit 0d6da03f5c3e49b92cf6817ba8a7f8d6f60ee1aa.
Diffstat (limited to 'ext/tokenizer/tokenizer_data.c')
-rw-r--r-- | ext/tokenizer/tokenizer_data.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/tokenizer/tokenizer_data.c b/ext/tokenizer/tokenizer_data.c index dbe9f0aedc..6b36ab0e39 100644 --- a/ext/tokenizer/tokenizer_data.c +++ b/ext/tokenizer/tokenizer_data.c @@ -163,7 +163,6 @@ void tokenizer_register_constants(INIT_FUNC_ARGS) { REGISTER_LONG_CONSTANT("T_NS_SEPARATOR", T_NS_SEPARATOR, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("T_ELLIPSIS", T_ELLIPSIS, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("T_DOUBLE_COLON", T_PAAMAYIM_NEKUDOTAYIM, CONST_CS | CONST_PERSISTENT); - REGISTER_LONG_CONSTANT("T_ERROR", T_ERROR, CONST_CS | CONST_PERSISTENT); } char *get_token_type_name(int token_type) @@ -303,7 +302,6 @@ char *get_token_type_name(int token_type) case T_NS_C: return "T_NS_C"; case T_NS_SEPARATOR: return "T_NS_SEPARATOR"; case T_ELLIPSIS: return "T_ELLIPSIS"; - case T_ERROR: return "T_ERROR"; } return "UNKNOWN"; |