|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21159 zend_ini_parser.y:215.4-6: unrecognized escape: `\\0'
Submitted: 2002-12-23 00:16 UTC Modified: 2003-10-07 06:24 UTC
From: philip at cornado dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4CVS-2002-12-22 (dev) OS: linux
Private report: No CVE-ID: None
 [2002-12-23 00:16 UTC] philip at cornado dot com
During make the following exists.  First, the setup:

autoconf : 2.13
bison : (GNU Bison) 1.75

From the output:

bison -y -p ini_ -v -d /cvs/php4/Zend/zend_ini_parser.y -o Zend/zend_ini_parser.c
/cvs/php4/Zend/zend_ini_parser.y:215.4-6: unrecognized escape: `\\0'

PHP compiles but maybe this is something to consider.  It's the only such warning I get.  One thread did talk a little about this specific error but nothing came of it afaict.  Is this a bison bug?

Line 215 looks like (aside from a little whitespace change):

|  '\0'  { $$.value.str.val = strdup(""); $$.value.str.len=0; $$.type = IS_STRING; }


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-20 21:59 UTC]
Please try using this CVS snapshot:
For Windows:

I'm have bison 1.28 and I don't get any errors..

 [2003-10-07 06:24 UTC]
This is now fixed in CVS.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Aug 03 02:01:24 2021 UTC