You should have received a copy of the GNU General Public License
along with Bison; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
/* set_derives finds, for each variable (nonterminal), which rules can derive it.
#include <stdio.h>
#include "system.h"
-#include "new.h"
+#include "alloc.h"
#include "types.h"
#include "gram.h"
+void set_derives PARAMS((void));
+void free_derives PARAMS((void));
short **derives;
void
-set_derives()
+set_derives (void)
{
register int i;
register int lhs;
}
void
-free_derives()
+free_derives (void)
{
FREE(derives[ntokens]);
FREE(derives + ntokens);
#ifdef DEBUG
-print_derives()
+void
+print_derives (void)
{
register int i;
register short *sp;
}
#endif
-