Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 015263339fa7adc9f14316d878a662f1d252adf6 authored by Georg Brandl on 17 September 2009, 11:49:20 UTC, committed by Georg Brandl on 17 September 2009, 11:49:20 UTC
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74873 | georg.brandl | 2009-09-17 13:48:31 +0200 (Do, 17 Sep 2009) | 1 line #6844 followup: the warning when setting Exception.message was removed, do not test for it. ........
1 parent f7a09be
Tip revision: 015263339fa7adc9f14316d878a662f1d252adf6 authored by Georg Brandl on 17 September 2009, 11:49:20 UTC
Merged revisions 74873 via svnmerge from
Merged revisions 74873 via svnmerge from
Tip revision: 0152633
grammar.mak
# This manages to rebuild graminit.{h, c} under MSVC 6 (Windows), via
#
# nmake /f grammar.mak
#
# You may also need to copy python23.dll into this directory, or get
# it on your search path.
#
# The intermediate files can be nuked afterwards:
#
# nmake /f grammar.mak clean
#
# I don't understand the maze of preprocessor #define's on Windows, and
# as a result this requires linking with python23.lib, so it's of no use
# for bootstrapping (the cause appears to be a useless-- in this
# particular case --pragma in PC\pyconfig.h, which demands that
# python23.lib get linked in).
LIBS= ..\PCbuild\python25.lib
CFLAGS= /I ..\Include /I ..\PC /D MS_NO_COREDLL /D PGEN /MD
GRAMMAR_H= ..\Include\graminit.h
GRAMMAR_C= ..\Python\graminit.c
GRAMMAR_INPUT= ..\Grammar\Grammar
PGEN= pgen.exe
POBJS= acceler.obj grammar1.obj listnode.obj node.obj parser.obj \
parsetok.obj tokenizer.obj bitset.obj metagrammar.obj
PARSER_OBJS= $(POBJS) myreadline.obj
PGOBJS= firstsets.obj grammar.obj pgen.obj printgrammar.obj pgenmain.obj
PGENOBJS= $(POBJS) $(PGOBJS)
$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
$(PGEN): $(PGENOBJS)
$(CC) $(PGENOBJS) $(LIBS) /Fe$(PGEN)
clean:
del *.obj
del $(PGEN)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...