On 8/16/07, Johannes Schlüter <[EMAIL PROTECTED]> wrote:
> Hi Tijnema,
>
> On Thu, 2007-08-16 at 20:27 +0200, Tijnema wrote:
> > On 8/10/07, Johannes Schlüter <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I think we reached the consensus to rename namespaces to packages as our
> > > implementation is more package-like. Therefore I wrote the corresponding
> > > patch which tries to get rid of all "namespaces" and "ns" (well, not all
> > > "ns" only the namespace-related ones of course) used in the code.
> > > Additionally I changed all package-tests. Any objections?
> > >
> > > Does anybody (with the move-on-CVS-server powers) care about the history
> > > of the tests? Then please cp ZendEngine2/tests/ns_* to pkg_* there else
> > > I'll do a simple cvs rm and cvs add.
> > >
> > > The patch is at
> > > http://schlueters.de/~johannes/php/zend_namespace_to_package.diff and
> > > the tarball with the changed tests at
> > > http://schlueters.de/~johannes/php/zend_package_tests.tar.bz2
> > >
> > > johannes
> > >
> >
> > Just a little note, right now, your patch doesn't seem to work
> > Johannes. It's saying that T_NAMESPACE and T_NS can't be found in
> > Zend/zend_language_scanner.c.
> >
> > Extra patch (that worked for me):
> >
> > --------zend_packages_extra_patch.patch------
> > --- Zend/zend_language_scanner.c      31 Jul 2007 23:23:37 -0000
> > +++ Zend/zend_language_scanner.c      16 Aug 2007 20:13:24 -0000
>
> If patching that file configure didn't find a proper flex version since
> that file is generated from Zend/zend_language_scanner.l using flex.
>
> johannes
>

Well, why does PHP compiles fine without the patch?, and why is this
file in the snapshot package when it is generated from flex?


I have flex 2.5.33 installed btw, that's fine right?

Tijnema
-- 
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to