Browse Source

initialize variable and fix WS

experimental/first_unicode_implementation
Antony Dovgal 18 years ago
parent
commit
b2b4b308b1
  1. 9
      Zend/zend_language_scanner.l

9
Zend/zend_language_scanner.l

@ -592,7 +592,7 @@ ZEND_API int zend_convert_scanner_output(UConverter *conv, UChar **target, int *
int zend_unicode_yyinput(zend_file_handle *file_handle, char *buf, size_t len TSRMLS_DC)
{
size_t n;
size_t n = len;
const char *src = buf;
#ifdef scottmac_0
@ -614,10 +614,11 @@ int zend_unicode_yyinput(zend_file_handle *file_handle, char *buf, size_t len TS
n = zend_stream_read(file_handle, buf, len TSRMLS_CC);
}
#endif
/* Don't make any conversions if unicode=off */
if (!UG(unicode)) {
return n;
}
if (!UG(unicode)) {
return n;
}
/* Autodetect encoding */
if (!SCNG(encoding_checked)) {

Loading…
Cancel
Save