delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/09/02:15:02

From: k DOT kubat AT roccadefinance DOT 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
To: "'Christopher David Hundhausen'" <chundhau AT cs DOT uoregon DOT edu>,
gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019