Staging
v0.5.1
https://github.com/python/cpython
Revision 20d529be264abd2aa162fc647641b52dbb117656 authored by Thomas Heller on 12 October 2000, 19:31:13 UTC, committed by Thomas Heller on 12 October 2000, 19:31:13 UTC
This should close SF bug (patch)
http://sourceforge.net/patch/?func=detailpatch&patch_id=101844&group_id=5470
1 parent 73574ee
Raw File
Tip revision: 20d529be264abd2aa162fc647641b52dbb117656 authored by Thomas Heller on 12 October 2000, 19:31:13 UTC
Recreated after installer source code changes.
Tip revision: 20d529b
parsetok.h

/* Parser-tokenizer link interface */

#ifndef Py_PARSETOK_H
#define Py_PARSETOK_H
#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
    int error;
    char *filename;
    int lineno;
    int offset;
    char *text;
    int token;
    int expected;
} perrdetail;

extern DL_IMPORT(node *) PyParser_ParseString(char *, grammar *, int,
                                              perrdetail *);
extern DL_IMPORT(node *) PyParser_ParseFile (FILE *, char *, grammar *, int,
                                             char *, char *, perrdetail *);

#ifdef __cplusplus
}
#endif
#endif /* !Py_PARSETOK_H */
back to top