13
int s_state; /* State in current DFA */
14
dfa *s_dfa; /* Current DFA */
15
struct _node *s_parent; /* Where to add next node */
19
stackentry *s_top; /* Top entry */
20
stackentry s_base[MAXSTACK];/* Array of stack entries */
21
/* NB The stack grows down */
25
stack p_stack; /* Stack of parser states */
26
grammar *p_grammar; /* Grammar to use */
27
node *p_tree; /* Top of parse tree */
28
#ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD
29
unsigned long p_flags; /* see co_flags in Include/code.h */
33
parser_state *PyParser_New(grammar *g, int start);
34
void PyParser_Delete(parser_state *ps);
35
int PyParser_AddToken(parser_state *ps, int type, char *str, int lineno, int col_offset,
37
void PyGrammar_AddAccelerators(grammar *g);
42
#endif /* !Py_PARSER_H */