mirror of
https://github.com/php/php-src.git
synced 2025-01-16 00:34:30 +08:00
- Use non-unicode input method (other one crashes for some reason in ZTS mode)
This commit is contained in:
parent
8b2cf00c41
commit
9ac0e1e130
@ -88,9 +88,9 @@
|
||||
#define YY_DECL int ini_lex(zval *ini_lval TSRMLS_DC)
|
||||
|
||||
#define YY_INPUT(buf, result, max_size) \
|
||||
if ( ((result = zend_unicode_yyinput(yyin, buf, max_size TSRMLS_CC)) == 0) \
|
||||
&& zend_stream_ferror( yyin TSRMLS_CC) ) \
|
||||
YY_FATAL_ERROR( "input in flex scanner failed" );
|
||||
if ( ((result = zend_stream_read(yyin, buf, max_size TSRMLS_CC)) == 0) \
|
||||
&& zend_stream_ferror( yyin TSRMLS_CC) ) \
|
||||
YY_FATAL_ERROR( "input in flex scanner failed" );
|
||||
|
||||
/* Globals Macros */
|
||||
#define SCNG INI_SCNG
|
||||
|
Loading…
Reference in New Issue
Block a user