blob: 90380560e06afb6e5b1767fdde243583ff20d4fb [file] [log] [blame]
Guido van Rossuma3309961993-07-28 09:05:47 +00001#ifndef Py_PGEN_H
2#define Py_PGEN_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
Guido van Rossumf70e43a1991-02-19 12:39:46 +00007/***********************************************************
Guido van Rossumb9f8d6e1995-01-04 19:08:09 +00008Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
9The Netherlands.
Guido van Rossumf70e43a1991-02-19 12:39:46 +000010
11 All Rights Reserved
12
Guido van Rossumfd71b9e2000-06-30 23:50:40 +000013Copyright (c) 2000, BeOpen.com.
14Copyright (c) 1995-2000, Corporation for National Research Initiatives.
15Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
16All rights reserved.
Guido van Rossumf70e43a1991-02-19 12:39:46 +000017
Guido van Rossumfd71b9e2000-06-30 23:50:40 +000018See the file "Misc/COPYRIGHT" for information on usage and
19redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
Guido van Rossumf70e43a1991-02-19 12:39:46 +000020
21******************************************************************/
22
Guido van Rossum85a5fbb1990-10-14 12:07:46 +000023/* Parser generator interface */
24
Guido van Rossum86bea461997-04-29 21:03:06 +000025extern grammar *meta_grammar Py_PROTO((void));
Guido van Rossum324aa791991-04-04 15:44:12 +000026
27struct _node;
Guido van Rossum86bea461997-04-29 21:03:06 +000028extern grammar *pgen Py_PROTO((struct _node *));
Guido van Rossuma3309961993-07-28 09:05:47 +000029
30#ifdef __cplusplus
31}
32#endif
33#endif /* !Py_PGEN_H */