diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-06-27 23:22:29 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-06-27 23:22:29 +0200 |
commit | ce7fc2e308f2755e117d69f4c898a0c5eb512d78 (patch) | |
tree | 12714867d074d25733b8049cdb47b9f9216f9930 /ext/tokenizer/tokenizer.c | |
parent | 78f2a1b81d073c449ecdc30e177078bc25cd6d56 (diff) | |
download | php-git-ce7fc2e308f2755e117d69f4c898a0c5eb512d78.tar.gz |
Fix typos...
Diffstat (limited to 'ext/tokenizer/tokenizer.c')
-rw-r--r-- | ext/tokenizer/tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c index 58b271ef4b..60df344395 100644 --- a/ext/tokenizer/tokenizer.c +++ b/ext/tokenizer/tokenizer.c @@ -194,7 +194,7 @@ void on_event(zend_php_scanner_event event, int token, int line, void *context) { if (token == END) break; /* Special cases */ - if (token == ';' && LANG_SCNG(yy_leng) > 1) { /* <? or <?\n or <?\r\n */ + if (token == ';' && LANG_SCNG(yy_leng) > 1) { /* ?> or ?>\n or ?>\r\n */ token = T_CLOSE_TAG; } else if (token == T_ECHO && LANG_SCNG(yy_leng) == sizeof("<?=") - 1) { token = T_OPEN_TAG_WITH_ECHO; |