Skip to content

Commit a0f6b2f

Browse files
committed
Revert language scanner
1 parent 5cabb9d commit a0f6b2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/zend_language_scanner.l

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,12 +1124,12 @@ static zend_result zend_scan_escape_string(zval *zendlval, char *str, int len, c
11241124
skip_escape_conversion:
11251125
if (SCNG(output_filter)) {
11261126
size_t sz = 0;
1127-
unsigned char *output_str;
1127+
unsigned char *str;
11281128
// TODO: avoid realocation ???
11291129
s = Z_STRVAL_P(zendlval);
1130-
SCNG(output_filter)(&output_str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval));
1130+
SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval));
11311131
zval_ptr_dtor(zendlval);
1132-
ZVAL_STRINGL(zendlval, (char *) output_str, sz);
1132+
ZVAL_STRINGL(zendlval, (char *) str, sz);
11331133
efree(str);
11341134
}
11351135
return SUCCESS;

0 commit comments

Comments
 (0)