Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
reorg tree (step 2: builtins)
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Nov 6, 2009
1 parent b2ef811 commit a5d1d68
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
8 changes: 1 addition & 7 deletions Makefile.in
Expand Up @@ -21,7 +21,6 @@ PCT := $(LIB_DIR)/library/PCT.pbc

## Setup some commands
PERL := @perl@
CAT := @cat@
CHMOD := @chmod@
CP := @cp@
MKPATH := @mkpath@
Expand All @@ -40,9 +39,7 @@ SOURCES := \
markdown/Node.pir \
markdown/gen_grammar.pir \
markdown/gen_actions.pir \
markdown/gen_builtins.pir

BUILTINS_PIR := \
markdown/builtins.pir \
markdown/builtins/is_strict.pir \
markdown/builtins/length.pir

Expand Down Expand Up @@ -83,9 +80,6 @@ markdown/gen_actions.pir: $(NQP) markdown/parser/actions.pm
$(PARROT) $(PARROT_ARGS) $(NQP) --output=markdown/gen_actions.pir \
--target=pir markdown/parser/actions.pm

markdown/gen_builtins.pir: $(BUILTINS_PIR)
$(CAT) $(BUILTINS_PIR) > markdown/gen_builtins.pir

installable: installable_markdown@exe@

installable_markdown@exe@: markdown.pbc
Expand Down
2 changes: 1 addition & 1 deletion markdown/Compiler.pir
Expand Up @@ -650,7 +650,7 @@ Return generated HTML for all of its children.

.include 'markdown/gen_grammar.pir'
.include 'markdown/gen_actions.pir'
.include 'markdown/gen_builtins.pir'
.include 'markdown/builtins.pir'
.include 'markdown/Node.pir'


Expand Down
11 changes: 11 additions & 0 deletions markdown/builtins.pir
@@ -0,0 +1,11 @@
# Copyright (C) 2009, Parrot Foundation.

.include 'markdown/builtins/is_strict.pir'
.include 'markdown/builtins/length.pir'

# Local Variables:
# mode: pir
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:

0 comments on commit a5d1d68

Please sign in to comment.