aboutsummaryrefslogtreecommitdiff
path: root/frontend/parse.dcl
blob: 6cecf2f0b059b6d3263e1c0262501c1b0b1ad252 (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 !{#Char} !Bool !Ident !Position !Bool !*HashTable !*File !*Files
	-> (!Bool,!Bool,!ParsedModule, !*HashTable, !*File, !*Files)

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