aboutsummaryrefslogtreecommitdiff
path: root/ps/step6_file.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/step6_file.ps
parentf26bc0110af9a6140a44cd01720ecadf0a3c8167 (diff)
downloadmal-fa64b741462df46ef63fe815dfce01b7d3d48f13.tar.gz
mal-fa64b741462df46ef63fe815dfce01b7d3d48f13.zip
PS: include/run from same directory.
Diffstat (limited to 'ps/step6_file.ps')
-rw-r--r--ps/step6_file.ps11
1 files changed, 6 insertions, 5 deletions
diff --git a/ps/step6_file.ps b/ps/step6_file.ps
index 7d1c876..bc30e35 100644
--- a/ps/step6_file.ps
+++ b/ps/step6_file.ps
@@ -1,8 +1,9 @@
-(types.ps) run
-(reader.ps) run
-(printer.ps) run
-(env.ps) run
-(core.ps) run
+/runlibfile where { pop }{ /runlibfile { run } def } ifelse %
+(types.ps) runlibfile
+(reader.ps) runlibfile
+(printer.ps) runlibfile
+(env.ps) runlibfile
+(core.ps) runlibfile
% read
/_readline { print flush (%stdin) (r) file 99 string readline } def