From: foobar Date: Thu, 3 Feb 2005 02:58:21 +0000 (+0000) Subject: ws fix X-Git-Tag: RELEASE_0_2~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91962aafad12c244cb53cb46e078cfc09bd44785;p=php ws fix --- diff --git a/Zend/zend_ini_scanner.l b/Zend/zend_ini_scanner.l index a6c368551f..38da6574fd 100644 --- a/Zend/zend_ini_scanner.l +++ b/Zend/zend_ini_scanner.l @@ -53,13 +53,13 @@ static char *ini_filename; void init_ini_scanner(TSRMLS_D) { - SCNG(lineno)=1; + SCNG(lineno)=1; } int zend_ini_scanner_get_lineno(TSRMLS_D) { - return SCNG(lineno); + return SCNG(lineno); } @@ -119,7 +119,7 @@ NEWLINE ("\r"|"\n"|"\r\n") [[][^[]+[\]][ ]*{NEWLINE}? { /* SECTION */ - /* eat trailng and spaces ] */ + /* eat trailing ] and spaces */ while (yyleng>0 && (yytext[yyleng-1]=='\n' || yytext[yyleng-1]=='\r' || yytext[yyleng-1]==']' || yytext[yyleng-1]==' ')) { yyleng--; yytext[yyleng]=0;