summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2020-06-20 18:07:25 (GMT)
committerGitHub <noreply@github.com>2020-06-20 18:07:25 (GMT)
commit314858e2763e76e77029ea0b691d749c32939087 (patch)
tree697996061fc2d8b019306ddd02b4ea21fbdd2cb2 /Makefile.pre.in
parent55460ee6dc9a4f16bd68d6b6be3a8398c7d4a596 (diff)
downloadcpython-314858e2763e76e77029ea0b691d749c32939087.zip
cpython-314858e2763e76e77029ea0b691d749c32939087.tar.gz
cpython-314858e2763e76e77029ea0b691d749c32939087.tar.bz2
bpo-40939: Remove the old parser (Part 2) (GH-21005)
Remove some remaining files and Makefile targets for the old parser
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in15
1 files changed, 2 insertions, 13 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 6841712..fc6dc43 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -344,7 +344,6 @@ PYTHON_OBJS= \
Python/getcopyright.o \
Python/getplatform.o \
Python/getversion.o \
- Python/graminit.o \
Python/hamt.o \
Python/hashtable.o \
Python/import.o \
@@ -742,7 +741,7 @@ regen-importlib: Programs/_freeze_importlib
# Regenerate all generated files
regen-all: regen-opcode regen-opcode-targets regen-typeslots \
- regen-token regen-symbol regen-ast regen-importlib clinic \
+ regen-token regen-ast regen-importlib clinic \
regen-pegen-metaparser regen-pegen
############################################################################
@@ -881,15 +880,7 @@ regen-keyword:
$(srcdir)/Lib/keyword.py.new
$(UPDATE_FILE) $(srcdir)/Lib/keyword.py $(srcdir)/Lib/keyword.py.new
-.PHONY: regen-symbol
-regen-symbol: $(srcdir)/Include/graminit.h
- # Regenerate Lib/symbol.py from Include/graminit.h
- # using Tools/scripts/generate_symbol_py.py
- $(PYTHON_FOR_REGEN) $(srcdir)/Tools/scripts/generate_symbol_py.py \
- $(srcdir)/Include/graminit.h \
- $(srcdir)/Lib/symbol.py
-
-Python/compile.o Python/symtable.o Python/ast_unparse.o Python/ast.o Python/future.o Parser/parsetok.o: $(srcdir)/Include/graminit.h $(srcdir)/Include/Python-ast.h
+Python/compile.o Python/symtable.o Python/ast_unparse.o Python/ast.o Python/future.o: $(srcdir)/Include/Python-ast.h
Python/getplatform.o: $(srcdir)/Python/getplatform.c
$(CC) -c $(PY_CORE_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $(srcdir)/Python/getplatform.c
@@ -989,7 +980,6 @@ PYTHON_HEADERS= \
$(srcdir)/Include/abstract.h \
$(srcdir)/Include/asdl.h \
$(srcdir)/Include/ast.h \
- $(srcdir)/Include/bitset.h \
$(srcdir)/Include/bltinmodule.h \
$(srcdir)/Include/boolobject.h \
$(srcdir)/Include/bytearrayobject.h \
@@ -1027,7 +1017,6 @@ PYTHON_HEADERS= \
$(srcdir)/Include/modsupport.h \
$(srcdir)/Include/moduleobject.h \
$(srcdir)/Include/namespaceobject.h \
- $(srcdir)/Include/node.h \
$(srcdir)/Include/object.h \
$(srcdir)/Include/objimpl.h \
$(srcdir)/Include/odictobject.h \