aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/spp/rpp/rpprat/initkw.r
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /unix/boot/spp/rpp/rpprat/initkw.r
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'unix/boot/spp/rpp/rpprat/initkw.r')
-rw-r--r--unix/boot/spp/rpp/rpprat/initkw.r34
1 files changed, 34 insertions, 0 deletions
diff --git a/unix/boot/spp/rpp/rpprat/initkw.r b/unix/boot/spp/rpp/rpprat/initkw.r
new file mode 100644
index 00000000..c03bf2f2
--- /dev/null
+++ b/unix/boot/spp/rpp/rpprat/initkw.r
@@ -0,0 +1,34 @@
+#-h- initkw 549 local 12/01/80 15:54:11
+# initkw - initialize tables and important global variables
+ include defs
+
+ subroutine initkw
+
+ include COMMON_BLOCKS
+
+ pointer mktabl
+
+ call dsinit (MEMSIZE)
+ deftbl = mktabl (1) # symbol table for definitions
+ call entdkw
+ rkwtbl = mktabl (1) # symbol table for Ratfor key words
+ call entrkw
+ fkwtbl = mktabl (0) # symbol table for Fortran key words
+ call entfkw
+ namtbl = mktabl (1) # symbol table for long identifiers
+ xpptbl = mktabl (1) # symbol table for xpp directives
+ call entxkw
+ gentbl = mktabl (0) # symbol table for generated identifiers
+ errtbl = NULL # table of names to be error checked
+
+ label = FIRST_LABEL # starting statement label
+ smem(1) = EOS # haven't read in "mem.com" file yet
+ body = NO # not in procedure body to start
+ dbgout = NO # disable debug output by default
+ dbglev = 0 # file level if debug enabled
+ memflg = NO # haven't declared mem common yet
+ swinrg = NO # default range checking for switches
+ col = 6
+
+ return
+ end