summaryrefslogtreecommitdiffstats
path: root/Parser/pgen/grammar.py
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-04-13 16:05:14 (GMT)
committerGitHub <noreply@github.com>2019-04-13 16:05:14 (GMT)
commitf2cf1e3e2892a6326949c2570f1bb6d6c95715fb (patch)
treebc8ec61893d284fe2e805191b2ba3c4a59a43879 /Parser/pgen/grammar.py
parentf8716c88f13f035c126fc1db499ae0ea309c7ece (diff)
downloadcpython-f2cf1e3e2892a6326949c2570f1bb6d6c95715fb.zip
cpython-f2cf1e3e2892a6326949c2570f1bb6d6c95715fb.tar.gz
cpython-f2cf1e3e2892a6326949c2570f1bb6d6c95715fb.tar.bz2
bpo-36623: Clean parser headers and include files (GH-12253)
After the removal of pgen, multiple header and function prototypes that lack implementation or are unused are still lying around.
Diffstat (limited to 'Parser/pgen/grammar.py')
-rw-r--r--Parser/pgen/grammar.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Parser/pgen/grammar.py b/Parser/pgen/grammar.py
index 340bf64..1ab9434 100644
--- a/Parser/pgen/grammar.py
+++ b/Parser/pgen/grammar.py
@@ -61,7 +61,6 @@ class Grammar:
def produce_graminit_c(self, writer):
writer("/* Generated by Parser/pgen */\n\n")
- writer('#include "pgenheaders.h"\n')
writer('#include "grammar.h"\n')
writer("grammar _PyParser_Grammar;\n")