[FFmpeg-devel] [PATCH] Improve eval.c:parse_primary() error message

Måns Rullgård mans
Sat May 17 18:14:14 CEST 2008

Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> Hi, as in subject.
> BTW, I wonder, there is a particular reason for not using bison/some
> other equivalent tool for these kind of parsings (it could be useful
> also for the ffserver.conf file and for the filter graph)?
> (Maybe are you simply trying to avoid to depend on those other tools?)

My experience with lex and yacc has been mostly good.  The one thing
that bothers me is that the generated parsers are not reentrant,
making it slightly tricky to use them in a library.

I don't personally mind the tool dependencies, but I'm sure there
would be many complaints from people running obscure operating systems
where these tools are not available (or worse, buggy).

As long as I'm not the one writing the parsers, I don't really care.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list