php.net |  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?

http://marc.theaimsgroup.com/?l=php-dev&m=103680308111343

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

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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-20 21:59 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


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

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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 04 08:01:29 2024 UTC