mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
* src/gram.c (nitems, nrules, nsyms, ntokens, nvars, nritems)
(start_symbol, max_user_token_number, semantic_parser) (error_token_number): Initialize. * src/reader.c (grammar, start_flag, startval, typed, lastprec): Initialize. (reader): Don't. (errtoken, eoftoken, undeftoken, axiom): Extern.
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
#ifndef READER_H_
|
||||
# define READER_H_
|
||||
|
||||
#include "symtab.h"
|
||||
|
||||
/* Read in the grammar specification and record it in the format
|
||||
described in gram.h. All guards are copied into the FGUARD file
|
||||
and all actions into FACTION, in each case forming the body of a C
|
||||
@@ -34,4 +36,9 @@ void grammar_free PARAMS ((void));
|
||||
|
||||
extern int lineno;
|
||||
|
||||
extern bucket *errtoken;
|
||||
extern bucket *undeftoken;
|
||||
extern bucket *eoftoken;
|
||||
extern bucket *axiom;
|
||||
|
||||
#endif /* !READER_H_ */
|
||||
|
||||
Reference in New Issue
Block a user