Skip to content

Commit

Permalink
Remove contextual fallback to %*ENV (as per r28193).
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Sep 7, 2009
1 parent 205733f commit e2eaf33
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/builtins/globals.pir
Expand Up @@ -117,16 +117,6 @@ src/builtins/globals.pir - initialize miscellaneous global variables
$P0 = get_global pkgname
unless null $P0 goto done

# if still not found, try %*ENV
.local pmc env
env = '!find_contextual'('%*ENV')
.local string envname
envname = clone name
substr envname, 0, 2, ''
$I0 = exists env[envname]
unless $I0 goto fail
$P0 = env[envname]
unless null $P0 goto done
fail:
$P0 = '!FAIL'('Contextual ', name, ' not found')
done:
Expand Down

0 comments on commit e2eaf33

Please sign in to comment.