Oops. I'm wrong of course.

It seems to be the case that yy_state_type is just a poor naming choice in
zend_globals.h. I renamed yy_state_type here and it compiles fine.

Gavin

On Sat, 22 Sep 2001, Gavin Sherry wrote:

> As far as I can see, one needs only remove:
> 
> typedef int yy_state_type;
> 
> >From zend_globals.h. This makes the following part of the patch relevant:
> 
> +#ifndef YY_STATE_DEFINED
> +#define YY_STATE_DEFINED
>  typedef int yy_state_type;
> +#endif
> 
> Gavin
> 
> 
> On Sat, 22 Sep 2001, Rasmus Lerdorf wrote:
> 
> > One of the places it is defined is in the generated
> > zend_language_scanner.c file though.  And that one isn't and can't be
> > protected with an ifdef/define, so it still won't build.
> > 
> > On Sat, 22 Sep 2001 [EMAIL PROTECTED] wrote:
> > 
> > > Tried latest cvs update from zend and yy_state_type is typedef'ed in
> > > multiple places. Attached is a patch which should allow you to compile. I'm
> > > not sure what the procedure is for getting the fix back to zend.
> > >
> > 
> > 
> > 
> 
> 
> 
> 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to