aboutsummaryrefslogtreecommitdiff
path: root/frontend/checksupport.dcl
diff options
context:
space:
mode:
authorsjakie1999-11-10 13:54:06 +0000
committersjakie1999-11-10 13:54:06 +0000
commit61d33fd39dc2697fc127d2c7b292e84c32f397ff (patch)
tree9f361fdc6248d50ea588d3ecdb4bc92539435349 /frontend/checksupport.dcl
parentbug fix: missing alternative in 'instance distributeLets Selection' (diff)
extension: not necessary to repeat definitions of dcl-module in icl-module
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@40 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/checksupport.dcl')
-rw-r--r--frontend/checksupport.dcl12
1 files changed, 6 insertions, 6 deletions
diff --git a/frontend/checksupport.dcl b/frontend/checksupport.dcl
index 32db0be..e8cff49 100644
--- a/frontend/checksupport.dcl
+++ b/frontend/checksupport.dcl
@@ -3,7 +3,7 @@ definition module checksupport
import StdEnv
import syntax, predef
-cIclModIndex :== 0 // MW++
+cIclModIndex :== 0
CS_NotChecked :== -1
NotFound :== -1
@@ -11,8 +11,8 @@ NotFound :== -1
cModuleScope :== 0
cGlobalScope :== 1
-cIsNotADclModule :== False // MW++
-cIsADclModule :== True // MW++
+cIsNotADclModule :== False
+cIsADclModule :== True
:: VarHeap :== Heap VarInfo
@@ -55,6 +55,7 @@ cConversionTableSize :== 8
:: Declaration =
{ dcl_ident :: !Ident
+ , dcl_pos :: !Position
, dcl_kind :: !STE_Kind
, dcl_index :: !Index
}
@@ -62,7 +63,7 @@ cConversionTableSize :== 8
:: Declarations =
{ dcls_import ::![Declaration]
, dcls_local ::![Declaration]
- , dcls_explicit ::![(!Declaration, !LineNr)] // MW++
+ , dcls_explicit ::![(!Declaration, !LineNr)]
}
:: IclModule =
@@ -72,9 +73,7 @@ cConversionTableSize :== 8
, icl_specials :: !IndexRange
, icl_common :: !.CommonDefs
, icl_declared :: !Declarations
-// RWS ...
, icl_imported_objects :: ![ImportedObject]
-// ... RWS
}
:: DclModule =
@@ -85,6 +84,7 @@ cConversionTableSize :== 8
, dcl_class_specials :: !IndexRange
, dcl_specials :: !IndexRange
, dcl_common :: !CommonDefs
+ , dcl_sizes :: !{# Int}
, dcl_declared :: !Declarations
, dcl_conversions :: !Optional ConversionTable
, dcl_is_system :: !Bool