aboutsummaryrefslogtreecommitdiff
path: root/src/interp/as.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/as.boot')
-rw-r--r--src/interp/as.boot8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interp/as.boot b/src/interp/as.boot
index d85b4743..f3522d20 100644
--- a/src/interp/as.boot
+++ b/src/interp/as.boot
@@ -44,9 +44,9 @@ $asyPrint := false
asList() ==
removeFile '"temp.text"
OBEY '"ls as/*.asy > temp.text"
- instream := OPEN '"temp.text"
+ instream := inputTextFile '"temp.text"
lines := [READLINE instream while not EOFP instream]
- CLOSE instream
+ closeFile instream
lines
asAll lines ==
@@ -416,7 +416,7 @@ asyAncestorList x == [asyAncestors y for y in x]
asytran fn ==
--put operations into table format for browser:
-- <sig pred origin exposed? comments>
- inStream := OPEN fn
+ inStream := inputTextFile fn
sayBrightly ['" Reading ",fn]
u := VMREAD inStream
$niladics := mkNiladics u
@@ -428,7 +428,7 @@ asytran fn ==
asytranDeclaration(d,'(top),nil,false)
if null name then hohohoho()
HPUT($docHash,name,$docHashLocal)
- CLOSE inStream
+ closeFile inStream
'done
mkNiladics u ==