Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Stop exporting the dummy PAST package.
  • Loading branch information
jnthn committed Sep 8, 2012
1 parent 7dd25a0 commit b4dec6c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/PASTRegex.pir
Expand Up @@ -42,16 +42,11 @@
# Also want the dumper.
load_bytecode 'dumper.pbc'

## Import PAST and _dumper to the HLL.
.local pmc GLOBALish, GLOBALishWHO, KnowHOW, how, PAST
GLOBALish = find_lex "GLOBALish"
GLOBALishWHO = get_who GLOBALish

.local pmc KnowHOW, how, PAST
KnowHOW = get_knowhow
PAST = KnowHOW."new_type"("name"=>"PAST")
how = get_how PAST
how."compose"(PAST)
GLOBALishWHO["PAST"] = PAST

# Add PAST dummy NS to the SC.
$P0 = nqp_get_sc "__PAST_CORE_SC__"
Expand Down

0 comments on commit b4dec6c

Please sign in to comment.