Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[common] Set up a GLOBAL.
  • Loading branch information
jnthn committed Oct 20, 2010
1 parent 8948ea1 commit 4f3c7e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/NQP/NQPSetting.pm
Expand Up @@ -239,3 +239,9 @@ sub ok($check, $diag) {
# XXX Bad hack, we'll replace this later.
knowhow Any {
}

# GLOBAL stash.
# (XXX Really want one per compilation unit and unify, but this will get us
# started. Also really want a stash type that knows its name rather than just
# a hash, I guess.)
::GLOBAL := NQPHash.new();

0 comments on commit 4f3c7e0

Please sign in to comment.