ID: 24971
Updated by: [email]sniperphp.net[/email]
Reported By: kis_an at mail dot ru
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Compaq TRU64 v5.1
PHP Version: 4.3.2
New Comment:

Please try using this CVS snapshot:

[url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

For Windows:

[url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]


Previous Comments:
------------------------------------------------------------------------

[2003-08-07 03:20:47] kis_an at mail dot ru

Description:
------------
Compilation process fail with next error (compilation was made with
root):

<code>

yacc /home/admin/tmp/php-4.3.2/ext/standard/pdate.y

fatal error: invalid escape, or illegal reserved word: expect, line
154
*** Exit 1
Stop.

</code>

configure was made (without any errors): ./configure
--with-oci8=$ORACLE_HOME --with-apxs=/usr/local/apache/bin/apxs
--enable-sigchild

Any suggestions?

Reproduce code:
---------------
Code from pdate.y:

<code>

153:/* This grammar has 14 shift/reduce conflicts. */
154:%expect 14
155:%pure_pr
156:
157:%token tAGO tDAY tDAY_UNIT tDAYZONE tDST tHOUR_UNIT tID
158:%token tMERIDIAN tMINUTE_UNIT tMONTH tMONTH_UNIT
159:%token tSEC_UNIT tSNUMBER tUNUMBER tYEAR_UNIT tZONE

</code>



------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=24971&edit=1[/url]