Apparently the code to forestall Tk eating events was too aggressive (Tk user input...
[python/dscho.git] / Include / parsetok.h
blobaebc83cdd856020b443508cab0030e21fce99faa
2 /* Parser-tokenizer link interface */
4 #ifndef Py_PARSETOK_H
5 #define Py_PARSETOK_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 typedef struct {
11 int error;
12 char *filename;
13 int lineno;
14 int offset;
15 char *text;
16 int token;
17 int expected;
18 } perrdetail;
20 extern DL_IMPORT(node *) PyParser_ParseString(char *, grammar *, int,
21 perrdetail *);
22 extern DL_IMPORT(node *) PyParser_ParseFile (FILE *, char *, grammar *, int,
23 char *, char *, perrdetail *);
25 #ifdef __cplusplus
27 #endif
28 #endif /* !Py_PARSETOK_H */