R-alpha: gram.c

Ross Ihaka (ihaka@stat.auckland.ac.nz)
Sat, 23 Mar 1996 12:59:24 +1200


Date: Sat, 23 Mar 1996 12:59:24 +1200
From: Ross Ihaka <ihaka@stat.auckland.ac.nz>
Message-Id: <199603230059.MAA27102@stat.auckland.ac.nz>
To: r-testers@stat.math.ethz.ch
Subject: R-alpha: gram.c
In-Reply-To: <199603221812.NAA14644@davinci.isds.duke.edu>

Andrew Gallatin writes:

 > It seems that src/main/gram.c is being distributed.  Is this
 > intentional?  
 > 
 > 0.3 failed to build on my alphas because of type mismatches for the
 > malloc & realloc declarations in gram.c.  Simply letting yacc produce
 > gram.c from gram.y cleared up the problem.

This is a damned-if-we-do / damned-if-we-don't situation.  The problem
is that the Linux yacc is actually just bison in disguise, and bison
doesn't seem to produce a viable gram.c.  While it is possible for
Linux users to run off and install byacc and use that, it is a hard
solution for many.  (We left gram.c in this time specifically to help
Linuxers).

Probably the right solution is for me to find an ``ansi yacc'' to
install on our development system and produce a gram.c with that.
I'll check it out.
	Ross
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-