From: k.kubat@roccadefinance.nl (Kubat, Karel)
Subject: RE: Compiling Bison-generated parsers with MS VC++?
9 Oct 1998 02:15:02 -0700
Message-ID: <DDA85E014826D2118BE30000F6B276B315DA5F.cygnus.gnu-win32@WINNT_MAILEXCH>
Mime-Version: 1.0
Content-Type: text/plain
To: "'Christopher David Hundhausen'" <chundhau@cs.uoregon.edu>,
        gnu-win32@cygnus.com

Chris,

> error messages:
> /cygnus/b19/share/bison.simple(327) : error C2065: 'yyerror' 
> : undeclared
> identifier
> /cygnus/b19/share/bison.simple(333) : error C2065: 'alloca' : 
> undeclared
> identifier
> /cygnus/b19/share/bison.simple(387) : error C2065: 'yylex' : 
> undeclared
> identifier

You need to declare your own yyerror() routine, if memory serves me, it
returns an int and requires an int as argument. Same goes for yylex() --
that comes from your flex-generated file. 

alloca() is often a problem, I've seen sources of that but I dunno where
anymore...

Cheers, K
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
