Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a couple of other things related to building with a parrot in par…
…rot/.
  • Loading branch information
Infinoid committed Feb 4, 2009
1 parent d38a4ac commit a5e405e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build/gen_objectref_pmc.pl
Expand Up @@ -23,6 +23,8 @@ =head1 FUNCTIONS

use strict;

use Parrot::Config;

# Get and check parameters.
my ($template, $output) = @ARGV;
unless ($template && $output) {
Expand All @@ -36,7 +38,7 @@ =head1 FUNCTIONS
my $template_contents = slurp($template);

# Read v-tables list and get list of functions from it.
my $vtable_list = slurp('../../src/vtable.tbl');
my $vtable_list = slurp($PConfig{build_dir}.'/src/vtable.tbl');
my @all_vtables = extract_matches($vtable_list, '(\w+)\\(');

# Find v-table methods defined in the ObjectRef template and exclude
Expand Down
2 changes: 1 addition & 1 deletion config/makefiles/root.in
Expand Up @@ -177,7 +177,7 @@ Test.pir: Test.pm perl6.pbc
$(PARROT) $(PARROT_ARGS) perl6.pbc --target=pir --output=Test.pir Test.pm

$(PMC_DIR)/objectref.pmc : $(PMC_DIR)/objectref_pmc.template build/gen_objectref_pmc.pl
$(PERL) build/gen_objectref_pmc.pl $(PMC_DIR)/objectref_pmc.template \
$(PERL) -I$(BUILD_DIR)/lib build/gen_objectref_pmc.pl $(PMC_DIR)/objectref_pmc.template \
$(PMC_DIR)/objectref.pmc

src/gen_grammar.pir: $(PERL6GRAMMAR) src/parser/grammar.pg src/parser/grammar-oper.pg
Expand Down

0 comments on commit a5e405e

Please sign in to comment.