Related articles |
---|
Re: Bison equivalent Robert.Blackburn@probe.ece.cmu.edu (1994-03-21) |
Newsgroups: | comp.compilers |
From: | Robert.Blackburn@probe.ece.cmu.edu |
Keywords: | yacc, tools |
Organization: | Compilers Central |
Date: | Mon, 21 Mar 1994 18:33:07 GMT |
Thanks to all who provided pointers to byacc as a public domain
replacement for GNU's Bison. It seems that the code it generates is
C++ compatible (at least as defined by g++ and Centerline's C++
compiler) provided the following change is made to byacc's skeleton.c
file:
diff skeleton.old ../byacc++.dir/skeleton.c
80c80
< " extern char *getenv();",
---
> " extern char *getenv(char *name);",
Special thanks to Bruce Hahne of Mitsubishi Electric Computer & Information
Systems Lab, Oofuna, Japan (bruce@jise.isl.melco.co.jp) who provided this
change.
-rlb
--
Robert Blackburn rlb@ece.cmu.edu
Senior Software Engineer (412) 367-6282
Dasys, Inc., 3547 Shadeland Avenue, Pittsburgh, Pennsylvania 15212
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.