cvs: /php3/functions parsedate.y

From: Date: Tue, 13 Jul 1999 20:25:36 +0000
Subject: cvs: /php3/functions parsedate.y
Groups: php.dev 
Request: Send a blank email to php-dev+get-8467@lists.php.net to get a copy of this message
rasmus Tue Jul 13 20:25:36 1999 EDT Modified files: /php3/functions parsedate.y Log: Hrm.. This really should be made into a 'pure_parser'. It shouldn't be hard to convert, and if we want this function ever to be supported in threaded environments it needs to be done. yylex needs to be called slightly differently and a couple of variables move from being global to being local. Index: php3/functions/parsedate.y diff -u php3/functions/parsedate.y:1.7 php3/functions/parsedate.y:1.8 --- php3/functions/parsedate.y:1.7 Tue Jul 13 09:54:53 1999 +++ php3/functions/parsedate.y Tue Jul 13 20:25:35 1999 @@ -1,5 +1,5 @@ %{ -/* $Revision: 1.7 $ +/* $Revision: 1.8 $ ** ** Originally written by Steven M. Bellovin <smb@research.att.com> while ** at the University of North Carolina at Chapel Hill. Later tweaked by @@ -132,6 +132,8 @@ static void date_error(); %} + +%expect 6 %union { time_t Number;

« previous php.dev (#8467) next »