X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/aa7815f5c6e8e07a85e47df9cd7b579468969efb..eeeb962b:/src/gram.c diff --git a/src/gram.c b/src/gram.c index 1e4ae70f..1df89a02 100644 --- a/src/gram.c +++ b/src/gram.c @@ -1,5 +1,5 @@ /* Allocate input grammar variables for bison, - Copyright 1984, 1986, 1989 Free Software Foundation, Inc. + Copyright 1984, 1986, 1989, 2001 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. */ #include "system.h" +#include "gram.h" void dummy PARAMS((void)); @@ -31,21 +32,18 @@ int nsyms; int ntokens; int nvars; -short *ritem; -short *rlhs; -short *rrhs; -short *rprec; -short *rprecsym; -short *sprec; -short *rassoc; -short *sassoc; -short *token_translations; -short *rline; +short *ritem = NULL; +rule_t *rule_table = NULL; +short *rprec = NULL; +short *rprecsym = NULL; +short *sprec = NULL; +short *rassoc = NULL; +short *sassoc = NULL; +short *token_translations = NULL; +short *rline = NULL; int start_symbol; -int translations; - int max_user_token_number; int semantic_parser;