Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Eliminate callcontext cheat.
This in turn means PASTRegex - the library the remaining .pir cheats
were placed into - can now also go away. This means we have no .pir
files in the NQP repository, apart from the generated-from-NQP stage0.
  • Loading branch information
jnthn committed Oct 25, 2012
1 parent 893a4d1 commit c05f281
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 78 deletions.
37 changes: 0 additions & 37 deletions src/PASTRegex.pir

This file was deleted.

29 changes: 0 additions & 29 deletions src/cheats/parrot-callcontext.pir

This file was deleted.

13 changes: 1 addition & 12 deletions tools/build/Makefile.in
Expand Up @@ -52,10 +52,6 @@ DYNEXT_DIR = dynext
PMC_DIR = src/pmc
OPS_DIR = src/ops

PAST_SOURCES = \
src/PASTRegex.pir \
src/cheats/parrot-callcontext.pir \

HLL_SOURCES = \
src/HLL/Grammar.pm \
src/HLL/Actions.pm \
Expand Down Expand Up @@ -145,8 +141,6 @@ MODULE_LOADER_PBC = ModuleLoader.pbc

REGEX_PBC = NQPRegex.pbc

PAST_PBC = PASTRegex.pbc

HLL_PBC = NQPHLL.pbc
HLL_COMBINED = gen/NQPHLL.pm
HLL_COMBINED_PIR = gen/NQPHLL.pir
Expand Down Expand Up @@ -492,7 +486,6 @@ CLEANUPS = \
*.manifest \
*.pdb \
$(REGEX_PBC) \
$(PAST_PBC) \
$(HLL_PBC) \
$(P6REGEX_PBC) \
$(NQP_MO_PBC) \
Expand Down Expand Up @@ -536,7 +529,6 @@ all: $(NQP_EXE) $(P5QREGEX_PBC)
install: all
$(MKPATH) $(DESTDIR)$(PARROT_LIBRARY_DIR)
$(CP) $(MODULE_LOADER_PBC) $(DESTDIR)$(PARROT_LIBRARY_DIR)/$(MODULE_LOADER_PBC)
$(CP) $(PAST_PBC) $(DESTDIR)$(PARROT_LIBRARY_DIR)/$(PAST_PBC)
$(MKPATH) $(DESTDIR)$(NQP_LANG_DIR)/lib
$(CP) $(QAST_PBC) $(DESTDIR)$(NQP_LANG_DIR)/lib/$(QAST_PBC)
$(CP) $(QASTNODE_PBC) $(DESTDIR)$(NQP_LANG_DIR)/lib/$(QASTNODE_PBC)
Expand All @@ -557,12 +549,9 @@ stage0: $(STAGE0)
stage1: $(STAGE1)
stage2: $(STAGE2)

$(PAST_PBC): $(PAST_SOURCES) $(DYNEXT_TARGET)
$(PARROT) -o $(PAST_PBC) $(PAST_SOURCES)

$(STAGE0): $(STAGE0_PBCS)

$(STAGE0_PBCS): $(DYNEXT_TARGET) $(PAST_PBC) $(STAGE0_SOURCES)
$(STAGE0_PBCS): $(DYNEXT_TARGET) $(STAGE0_SOURCES)
$(PARROT) -o $(STAGE0)/$(NQP_MO_PBC) src/stage0/NQPMO-s0.pir
$(PARROT) -o $(STAGE0)/$(MODULE_LOADER_PBC) src/stage0/ModuleLoader-s0.pir
$(PARROT) -o $(STAGE0)/$(CORE_SETTING_PBC) src/stage0/NQPCORE.setting-s0.pir
Expand Down

0 comments on commit c05f281

Please sign in to comment.