Mercurial > cpython-lru_cache-weakref
annotate Include/pgen.h @ 79675:c0a2294de787 2.7
Issue #16199: Backport 2to3 typo fix from 3.2.
| author | Chris Jerdonek <chris.jerdonek@gmail.com> |
|---|---|
| date | Thu, 11 Oct 2012 16:15:46 -0700 |
| parents | 193b8aec00ce |
| children |
| rev | line source |
|---|---|
|
28646
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
1 #ifndef Py_PGEN_H |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
2 #define Py_PGEN_H |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
3 #ifdef __cplusplus |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
4 extern "C" { |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
5 #endif |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
6 |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
7 |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
8 /* Parser generator interface */ |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
9 |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
10 extern grammar *meta_grammar(void); |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
11 |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
12 struct _node; |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
13 extern grammar *pgen(struct _node *); |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
14 |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
15 #ifdef __cplusplus |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
16 } |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
17 #endif |
|
193b8aec00ce
Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
18 #endif /* !Py_PGEN_H */ |
