- Use non-unicode input method (other one crashes for some reason in ZTS mode)

This commit is contained in:
Jani Taskinen 2007-10-02 16:52:53 +00:00
parent 8b2cf00c41
commit 9ac0e1e130

View File

@ -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