aboutsummaryrefslogtreecommitdiff
path: root/frontend/parse.dcl
diff options
context:
space:
mode:
authorjohnvg2012-10-08 12:37:41 +0000
committerjohnvg2012-10-08 12:37:41 +0000
commit73470625e3651f773b0c4cdbe7db714fc3491804 (patch)
tree5e69eb572290b36288278f66f856cf00a410ad0e /frontend/parse.dcl
parentadd tsvn:logminsize 1 property (diff)
search and open file before calling wantModule
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2184 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/parse.dcl')
-rw-r--r--frontend/parse.dcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/parse.dcl b/frontend/parse.dcl
index fb51a61..6cecf2f 100644
--- a/frontend/parse.dcl
+++ b/frontend/parse.dcl
@@ -10,5 +10,7 @@ import syntax, hashtable, scanner, predef
cWantIclFile :== True
cWantDclFile :== False
-wantModule :: !Bool !Ident !Position !Bool !*HashTable !*File !SearchPaths (ModTimeFunction *Files) !*Files
+wantModule :: !*File !{#Char} !Bool !Ident !Position !Bool !*HashTable !*File !*Files
-> (!Bool,!Bool,!ParsedModule, !*HashTable, !*File, !*Files)
+
+moduleCouldNotBeImportedError :: !Bool !Ident !Position !*File -> *File