aboutsummaryrefslogtreecommitdiff
path: root/main/compile.dcl
diff options
context:
space:
mode:
Diffstat (limited to 'main/compile.dcl')
-rw-r--r--main/compile.dcl13
1 files changed, 12 insertions, 1 deletions
diff --git a/main/compile.dcl b/main/compile.dcl
index f4c0953..68495c5 100644
--- a/main/compile.dcl
+++ b/main/compile.dcl
@@ -1,5 +1,16 @@
definition module compile
from StdFile import Files
+import checksupport
-compile :: [{#Char}] *Files -> (!Bool, !*Files)
+compile :: ![{#Char}] !*DclCache !*Files -> (!Bool,!*DclCache,!*Files)
+
+:: DclCache = {
+ dcl_modules::!{#DclModule},
+ functions_and_macros::!{#FunDef},
+ predef_symbols::!.PredefinedSymbols,
+ hash_table::!.HashTable,
+ heaps::!.Heaps
+ };
+
+empty_cache :: *DclCache