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