* 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:
Akim Demaille
2002-04-07 17:42:49 +00:00
parent 03b31c0ce8
commit 280a38c306
4 changed files with 37 additions and 36 deletions

View File

@@ -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_ */