diff options
author | johnvg | 2012-10-08 12:37:41 +0000 |
---|---|---|
committer | johnvg | 2012-10-08 12:37:41 +0000 |
commit | 73470625e3651f773b0c4cdbe7db714fc3491804 (patch) | |
tree | 5e69eb572290b36288278f66f856cf00a410ad0e /frontend/parse.dcl | |
parent | add 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.dcl | 4 |
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 |