Re: Cygwin 'byacc' question

"toby" <toby@telegraphics.com.au>
12 Nov 2005 15:43:35 -0500

          From comp.compilers

Related articles
Cygwin 'byacc' question andreytarasevich@hotmail.com (Andrey Tarasevich) (2005-11-02)
Re: Cygwin 'byacc' question kst-u@mib.org (Keith Thompson) (2005-11-04)
Re: Cygwin 'byacc' question bill@qswtools.com (Bill Cox) (2005-11-08)
Re: Cygwin 'byacc' question toby@telegraphics.com.au (toby) (2005-11-12)
Re: Cygwin 'byacc' question andreytarasevich@hotmail.com (Andrey Tarasevich) (2005-11-12)
Re: Cygwin 'byacc' question dickey@saltmine.radix.net (Thomas Dickey) (2005-12-19)
| List of all articles for this month |
From: "toby" <toby@telegraphics.com.au>
Newsgroups: comp.compilers
Date: 12 Nov 2005 15:43:35 -0500
Organization: http://groups.google.com
References: 05-11-03005-11-037
Keywords: yacc
Posted-Date: 12 Nov 2005 15:43:35 EST

Keith Thompson wrote:
> Andrey Tarasevich <andreytarasevich@hotmail.com> writes:
> > I'm using Berkley Yacc (byacc) generator from Cygwin package in my
> > project and now I'm in the process of switching to the newer version
> > of Cygwin. While doing this I ran into the following problem.
> [snip]
>
> Cygwin also has bison (currently version 1.875b). I don't know
> whether it would solve your problem *or* how much effort it would be
> to switch.


Bison's -p option is designed to solve just this problem: you get to
choose alternative prefixes for external symbols yyparse, yylex,
yyerror, yylval, yychar and yydebug (see 'info bison').


--Toby


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.