source:
vendor/python/2.5/Parser/parser.h@
3298
| Last change on this file since 3298 was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 1.0 KB | |
| Rev | Line | |
|---|---|---|
| [3225] | 1 | #ifndef Py_PARSER_H |
| 2 | #define Py_PARSER_H | |
| 3 | #ifdef __cplusplus | |
| 4 | extern "C" { | |
| 5 | #endif | |
| 6 | ||
| 7 | ||
| 8 | /* Parser interface */ | |
| 9 | ||
| 10 | #define MAXSTACK 500 | |
| 11 | ||
| 12 | typedef struct { | |
| 13 | int s_state; /* State in current DFA */ | |
| 14 | dfa *s_dfa; /* Current DFA */ | |
| 15 | struct _node *s_parent; /* Where to add next node */ | |
| 16 | } stackentry; | |
| 17 | ||
