X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/a083fbbf221545ea6e68a831da060d8834f36eca..db5b3a89b415dadc725ea6271d5bb09e27a7969d:/src/nullable.c?ds=sidebyside diff --git a/src/nullable.c b/src/nullable.c index 919efbd5..516fce40 100644 --- a/src/nullable.c +++ b/src/nullable.c @@ -15,24 +15,27 @@ GNU General Public License for more details. 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 up nullable, a vector saying which nonterminals can expand into the null string. - nullable[i - ntokens] is nonzero if symbol i can do so. */ +/* set up nullable, a vector saying which nonterminals can expand into + the null string. nullable[i - ntokens] is nonzero if symbol i can + do so. */ -#include #include "system.h" #include "types.h" #include "gram.h" -#include "new.h" +#include "alloc.h" char *nullable; +extern void free_nullable PARAMS((void)); +extern void set_nullable PARAMS((void)); void -set_nullable() +set_nullable (void) { register short *r; register short *s1; @@ -130,7 +133,7 @@ set_nullable() void -free_nullable() +free_nullable (void) { FREE(nullable + ntokens); }