aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/spp/rpp/rpprat/finit.r
diff options
context:
space:
mode:
Diffstat (limited to 'unix/boot/spp/rpp/rpprat/finit.r')
-rw-r--r--unix/boot/spp/rpp/rpprat/finit.r24
1 files changed, 24 insertions, 0 deletions
diff --git a/unix/boot/spp/rpp/rpprat/finit.r b/unix/boot/spp/rpp/rpprat/finit.r
new file mode 100644
index 00000000..8ca1ecf5
--- /dev/null
+++ b/unix/boot/spp/rpp/rpprat/finit.r
@@ -0,0 +1,24 @@
+#-h- finit 432 local 12/01/80 15:54:07
+# finit - initialize for each input file
+ include defs
+
+ subroutine finit
+
+ include COMMON_BLOCKS
+
+ outp = 0 # output character pointer
+ level = 1 # file control
+ linect (1) = 0
+ sbp = 1
+ fnamp = 2
+ fnames (1) = EOS
+ bp = PBPOINT
+ buf (bp) = EOS # to force a read on next call to 'ngetch'
+ fordep = 0 # for stack
+ fcname (1) = EOS # current function name
+ swtop = 0 # switch stack
+ swlast = 1
+ swvnum = 0
+ swvlev = 0
+ return
+ end