Ethereal-dev: Re: [ethereal-dev] Ethereal on Solaris -- lexical scanner problems.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Thu, 5 Aug 1999 20:28:35 -0500
On Thu, Aug 05, 1999 at 06:18:08PM -0500, Guy Harris wrote:
> 
> 
> Ethereal requires "flex" and either "bison" or Berkeley "yacc"; we
> distribute the results of those programs with Ethereal, so you don't
> need them to build Ethereal (unless you modify the scanner or grammar),
> but we don't use the prefixing features with them, so our scanner and
> parser don't have symbols prefixed with, say, "ethereal_".
> 
> It might also be nice to, if there isn't "flex" or "bison", have the
> build process run a "sed" script or something such as that to generate
> the resulting ".c" file, to do the symbol renaming.

Since ethereal requires flex, I'll add code to rename the
symbols in the flex scanner. I'll also put in a generic #define hack
for the parser, since AFAIK, it's not bison-specific, but compatible
with any standard yacc.

--gilbert