summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-04-05 00:39:01 +0200
committerVictor Stinner <victor.stinner@haypocalc.com>2011-04-05 00:39:01 +0200
commit8136044f569744c1f5fbb37a093e2728db859ee0 (patch)
tree5481df77ac6ebb6588d6303cf6cd5ac7d6da3257 /Makefile.pre.in
parente1776f777b02f5bf98314e643ad435d181257059 (diff)
downloadcpython-8136044f569744c1f5fbb37a093e2728db859ee0.tar.gz
Issue #10785: Store the filename as Unicode in the Python parser.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index c3004ceaf8..6a206c2afd 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -238,14 +238,13 @@ POBJS= \
Parser/listnode.o \
Parser/node.o \
Parser/parser.o \
- Parser/parsetok.o \
Parser/bitset.o \
Parser/metagrammar.o \
Parser/firstsets.o \
Parser/grammar.o \
Parser/pgen.o
-PARSER_OBJS= $(POBJS) Parser/myreadline.o Parser/tokenizer.o
+PARSER_OBJS= $(POBJS) Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o
PGOBJS= \
Objects/obmalloc.o \
@@ -254,10 +253,12 @@ PGOBJS= \
Python/pyctype.o \
Parser/tokenizer_pgen.o \
Parser/printgrammar.o \
+ Parser/parsetok_pgen.o \
Parser/pgenmain.o
PARSER_HEADERS= \
Parser/parser.h \
+ Include/parsetok.h \
Parser/tokenizer.h
PGENOBJS= $(PGENMAIN) $(POBJS) $(PGOBJS)
@@ -593,6 +594,7 @@ Parser/grammar.o: $(srcdir)/Parser/grammar.c \
Parser/metagrammar.o: $(srcdir)/Parser/metagrammar.c
Parser/tokenizer_pgen.o: $(srcdir)/Parser/tokenizer.c
+Parser/parsetok_pgen.o: $(srcdir)/Parser/parsetok.c
Parser/pgenmain.o: $(srcdir)/Include/parsetok.h
@@ -700,7 +702,6 @@ PYTHON_HEADERS= \
Include/objimpl.h \
Include/opcode.h \
Include/osdefs.h \
- Include/parsetok.h \
Include/patchlevel.h \
Include/pgen.h \
Include/pgenheaders.h \