aboutsummaryrefslogtreecommitdiff
path: root/frontend/parse.dcl
blob: b00fcbd1487b7803d15dbfc9cadafabdefa360d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
definition module parse

import syntax, hashtable, scanner, predef

::	*ParseErrorAdmin = 
	{	pea_file	:: !*File
	,	pea_ok		:: !Bool
	}

cWantIclFile :== True	
cWantDclFile :== False	

wantModule :: !*File !String !{#Char} !Bool !Ident !Position !Bool !*HashTable !*File !*Files
	-> (!Bool,!Bool,!ParsedModule, !*HashTable, !*File, !*Files)

moduleCouldNotBeImportedError :: !Bool !Ident !Position !*File -> *File