diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-02-18 16:27:38 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-02-18 16:27:38 +0400 |
commit | 5de7115679522dec2f4725104c6f8c6e4a7bd8e4 (patch) | |
tree | 4c3ec266ea19dec3ca82e348c1e73483d1899715 /Zend/zend_language_scanner.l | |
parent | 1c4f3d39a805323dc60f2bc1bfc96e39d608ac37 (diff) | |
download | php-git-5de7115679522dec2f4725104c6f8c6e4a7bd8e4.tar.gz |
Use better data structures (incomplete; able to run bench.php)
Diffstat (limited to 'Zend/zend_language_scanner.l')
-rw-r--r-- | Zend/zend_language_scanner.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_language_scanner.l b/Zend/zend_language_scanner.l index abe6826321..7648eafb95 100644 --- a/Zend/zend_language_scanner.l +++ b/Zend/zend_language_scanner.l @@ -1925,7 +1925,8 @@ inline_html: } <ST_IN_SCRIPTING>("?>"|"</script"{WHITESPACE}*">"){NEWLINE}? { - ZVAL_STRINGL(zendlval, yytext, yyleng); +//??? ZVAL_STRINGL(zendlval, yytext, yyleng); + ZVAL_STR(zendlval, STR_EMPTY_ALLOC()); /* tricky way to no copying - intentional */ BEGIN(INITIAL); return T_CLOSE_TAG; /* implicit ';' at php-end tag */ } |