aboutsummaryrefslogtreecommitdiff
path: root/ps/step3_env.ps
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-05-10 16:29:07 -0500
committerJoel Martin <github@martintribe.org>2014-05-10 16:29:07 -0500
commitfa64b741462df46ef63fe815dfce01b7d3d48f13 (patch)
tree85bab32b98ba16d4081461c4bcda87a659e18bca /ps/step3_env.ps
parentf26bc0110af9a6140a44cd01720ecadf0a3c8167 (diff)
downloadmal-fa64b741462df46ef63fe815dfce01b7d3d48f13.tar.gz
mal-fa64b741462df46ef63fe815dfce01b7d3d48f13.zip
PS: include/run from same directory.
Diffstat (limited to 'ps/step3_env.ps')
-rw-r--r--ps/step3_env.ps9
1 files changed, 5 insertions, 4 deletions
diff --git a/ps/step3_env.ps b/ps/step3_env.ps
index 92dc26e..e662c11 100644
--- a/ps/step3_env.ps
+++ b/ps/step3_env.ps
@@ -1,7 +1,8 @@
-(types.ps) run
-(reader.ps) run
-(printer.ps) run
-(env.ps) run
+/runlibfile where { pop }{ /runlibfile { run } def } ifelse %
+(types.ps) runlibfile
+(reader.ps) runlibfile
+(printer.ps) runlibfile
+(env.ps) runlibfile
% read
/_readline { print flush (%stdin) (r) file 99 string readline } def