diff options
author | Guido van Rossum <guido@python.org> | 1990-12-20 15:06:42 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1990-12-20 15:06:42 +0000 |
commit | 3f5da24ea304e674a9abbdcffc4d671e32aa70f1 (patch) | |
tree | e932e31cb9381f40b7c87c377638216c043b5cfc /Parser/parser.h | |
parent | 226d79eb4a776dd54c9e4544b17deaf928bcef3a (diff) | |
download | cpython-git-3f5da24ea304e674a9abbdcffc4d671e32aa70f1.tar.gz |
"Compiling" version
Diffstat (limited to 'Parser/parser.h')
-rw-r--r-- | Parser/parser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Parser/parser.h b/Parser/parser.h index 16eee0e8fe..1ada8ccebf 100644 --- a/Parser/parser.h +++ b/Parser/parser.h @@ -5,7 +5,7 @@ typedef struct _stackentry { int s_state; /* State in current DFA */ dfa *s_dfa; /* Current DFA */ - node *s_parent; /* Where to add next node */ + struct _node *s_parent; /* Where to add next node */ } stackentry; typedef struct _stack { @@ -22,4 +22,5 @@ typedef struct { parser_state *newparser PROTO((struct _grammar *g, int start)); void delparser PROTO((parser_state *ps)); -int addtoken PROTO((parser_state *ps, int type, char *str)); +int addtoken PROTO((parser_state *ps, int type, char *str, int lineno)); +void addaccelerators PROTO((grammar *g)); |