Path: utzoo!attcan!uunet!ccicpg!felix!dhw68k!macintosh From: wetter@tybalt.caltech.edu (Pierce T. Wetter) Newsgroups: comp.sources.mac Subject: Bison Macintosh Sources (part 7 of 6) Message-ID: <8289@dhw68k.cts.com> Date: 24 May 88 16:57:51 GMT Sender: macintosh@dhw68k.cts.com Organization: California Institute of Technology Lines: 83 Approved: bytebug@dhw68k.cts.com (Roger L. Long) Supersedes: <6616@cit-vax.Caltech.Edu> [Bison Macintosh Sources - part 7 of 6] Accidentally left out a file in the recent posting of Bison. I included two copies of main.c though, so its OK. This is file "gram.c", which like most GNU stuff is mostly copyright. Pierce --- #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create the files: # gram.c # This archive created: Tue May 24 07:40:31 1988 # By: Roger L. Long (bytebug@dhw68k.cts.com) export PATH; PATH=/bin:$PATH echo shar: extracting "'gram.c'" '(1446 characters)' if test -f 'gram.c' then echo shar: will not over-write existing file "'gram.c'" else sed 's/^X//' << \SHAR_EOF > 'gram.c' X X/* Allocate input grammar variables for bison, X Copyright (C) 1984, 1986 Bob Corbett and Free Software Foundation, Inc. X XBISON is distributed in the hope that it will be useful, but WITHOUT ANY XWARRANTY. No author or distributor accepts responsibility to anyone Xfor the consequences of using it or for whether it serves any Xparticular purpose or works at all, unless he says so in writing. XRefer to the BISON General Public License for full details. X XEveryone is granted permission to copy, modify and redistribute BISON, Xbut only under the conditions described in the BISON General Public XLicense. A copy of this license is supposed to have been given to you Xalong with BISON so you can know your rights and responsibilities. It Xshould be in a file named COPYING. Among other things, the copyright Xnotice and this notice must be preserved on all copies. X X In other words, you are welcome to use, share and improve this program. X You are forbidden to forbid anyone else to use, share and improve X what you give them. Help stamp out software-hoarding! */ X X/* comments for these variables are in gram.h */ X Xint nitems; Xint nrules; Xint nsyms; Xint ntokens; Xint nvars; X Xshort *ritem; Xshort *rlhs; Xshort *rrhs; Xshort *rprec; Xshort *sprec; Xshort *rassoc; Xshort *sassoc; Xshort *token_translations; Xshort *rline; X Xint start_symbol; X Xint translations; X Xint max_user_token_number; X Xint semantic_parser; X Xint pure_parser; X Xint error_token_number; SHAR_EOF if test 1446 -ne "`wc -c < 'gram.c'`" then echo shar: error transmitting "'gram.c'" '(should have been 1446 characters)' fi fi # end of overwriting check # End of shell archive exit 0 ---