summaryrefslogtreecommitdiff
path: root/Zend/zend_ini_scanner.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-05-26 02:18:17 +0000
committerFelipe Pena <felipe@php.net>2010-05-26 02:18:17 +0000
commitde531056f7d002a5b0fea12c1e320e2abe2823c2 (patch)
treefa7145670f3dcedd18e970f27da8390f95e04705 /Zend/zend_ini_scanner.c
parent79d2aaf0f1775f89a775b2d2d793dff8bb0e7755 (diff)
downloadphp-git-de531056f7d002a5b0fea12c1e320e2abe2823c2.tar.gz
- Fixed bug #51899 (Parse error in parse_ini_file() function when empy value followed by no newline)
Diffstat (limited to 'Zend/zend_ini_scanner.c')
-rw-r--r--Zend/zend_ini_scanner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_ini_scanner.c b/Zend/zend_ini_scanner.c
index 2499797085..1677d3ed2e 100644
--- a/Zend/zend_ini_scanner.c
+++ b/Zend/zend_ini_scanner.c
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.13.5 on Sun Feb 7 13:25:37 2010 */
+/* Generated by re2c 0.13.5 on Tue May 25 22:53:58 2010 */
#line 1 "Zend/zend_ini_scanner.l"
/*
+----------------------------------------------------------------------+
@@ -317,7 +317,7 @@ restart:
if (YYCURSOR >= YYLIMIT) {
if (YYSTATE == STATE(ST_VALUE) || YYSTATE == STATE(ST_RAW)) {
BEGIN(INITIAL);
- return 0;
+ return END_OF_LINE;
}
return 0;
}