[oe] [PATCH] bison: add flex dependency

Phil Blundell philb at gnu.org
Tue Aug 17 14:35:32 UTC 2010


On Tue, 2010-08-17 at 16:14 +0200, Frans Meulenbroeks wrote:
> 2010/8/17 Phil Blundell <philb at gnu.org>:
> > On Mon, 2010-08-16 at 16:26 -0500, Jason Kridner wrote:
> >> -DEPENDS = "virtual/libintl"
> >> +DEPENDS = "virtual/libintl virtual/flex"
> >
> > Does this actually work?  I couldn't immediately spot any obvious
> > package which PROVIDES virtual/flex, and that sounds like a strange kind
> > of virtual to have since I don't think there are any alternative
> > implementations of flex.  (But if bison actually depends on lex
> > generically, rather than flex specifically, it might make some sense to
> > introduce a virtual/lex and have flex PROVIDE it.)
> >
> 
> is there another popular lexer apart from flex?
> And will bison build with it?

Well, there's lex itself obviously.  I'm not sure whether bison will
actually work with it, and I guess the majority of lex afficionados will
probably be using yacc rather than bison in any case, so it probably
isn't all that big a deal.  But if bison does indeed support non-flex
implementations of lex then it would be nice to expose that in the
metadata.

p.






More information about the Openembedded-devel mailing list