mirror of
https://github.com/php/php-src.git
synced 2026-04-18 05:21:02 +02:00
sync zend_ini_scanner.c
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Generated by re2c 0.13.5 on Mon Nov 3 00:36:23 2008 */
|
||||
/* Generated by re2c 0.13.5 on Wed Nov 5 22:35:51 2008 */
|
||||
#line 1 "Zend/zend_ini_scanner.l"
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
@@ -190,7 +190,7 @@ int zend_ini_scanner_get_lineno(TSRMLS_D)
|
||||
*/
|
||||
char *zend_ini_scanner_get_filename(TSRMLS_D)
|
||||
{
|
||||
return ini_filename;
|
||||
return ini_filename ? ini_filename : "Unknown";
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
@@ -848,7 +848,7 @@ yy58:
|
||||
yyleng = YYCURSOR - SCNG(yy_text);
|
||||
#line 483 "Zend/zend_ini_scanner.l"
|
||||
{ /* #Comment */
|
||||
zend_error(E_DEPRECATED, "Comments starting with '#' are deprecated in %s on line %d", ini_filename, SCNG(lineno));
|
||||
zend_error(E_DEPRECATED, "Comments starting with '#' are deprecated in %s on line %d", zend_ini_scanner_get_filename(TSRMLS_C), SCNG(lineno));
|
||||
BEGIN(INITIAL);
|
||||
SCNG(lineno)++;
|
||||
return END_OF_LINE;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Generated by re2c 0.13.5 on Mon Nov 3 00:36:23 2008 */
|
||||
/* Generated by re2c 0.13.5 on Wed Nov 5 22:35:51 2008 */
|
||||
#line 3 "Zend/zend_ini_scanner_defs.h"
|
||||
|
||||
enum YYCONDTYPE {
|
||||
|
||||
Reference in New Issue
Block a user