#37362 [Opn]: Make halts on semicolon in function declaration
| From: | lobster2 at xs4all dot nl | Date: | Mon, 08 May 2006 08:17:49 +0000 |
| Subject: | #37362 [Opn]: Make halts on semicolon in function declaration | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96800@lists.php.net to get a copy of this message | ||
ID: 37362
User updated by: lobster2 at xs4all dot nl
Reported By: lobster2 at xs4all dot nl
Status: Open
Bug Type: Compile Failure
Operating System: AIX 5.2 ML07
PHP Version: 5.1.4
New Comment:
$ diff zend_language_parser.c.orig zend_language_parser.c
2582c2582,2583
< ;
---
> # Next line commented out on AIX 5.2 ML07 with xlc 6.0
> # ;
$ diff zend_ini_parser.c.orig zend_ini_parser.c
1078c1078,1079
< ;
---
> # Next line commented out on AIX 5.2 ML07 with xlc 6.0
> # ;
Previous Comments:
------------------------------------------------------------------------
[2006-05-08 08:15:16] lobster2 at xs4all dot nl
Description:
------------
During make of PHP 5.1.3 and PHP 5.1.4 on AIX 5.2 ML07
with xlc 6.0 the process halts on syntax errors.
Reproduce code:
---------------
$ make
[...]
"Zend/zend_language_parser.c", line 2585.1: 1506-046 (S)
Syntax error.
[... and after fixing the previous error ...]
"Zend/zend_ini_parser.c", line 1081.1: 1506-046 (S) Syntax
error.
Stop.
Expected result:
----------------
Fix: comment out the line previous to the one reported,
with the single semicolon on its own.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37362&edit=1