diff options
author | alimarin | 2001-03-13 15:36:49 +0000 |
---|---|---|
committer | alimarin | 2001-03-13 15:36:49 +0000 |
commit | c3a2cdaad45d3e1536d3b98d89036e549f159530 (patch) | |
tree | 03e6e689e81bca56ad245ff00fc9c17a7bef80b5 /frontend/checksupport.dcl | |
parent | added 2.0 syntax to type_io.icl (diff) |
Generics are added, but are disabled.
Tested with compiling Object IO and butstrapping.
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@329 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/checksupport.dcl')
-rw-r--r-- | frontend/checksupport.dcl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/frontend/checksupport.dcl b/frontend/checksupport.dcl index 0e7c42a..d269981 100644 --- a/frontend/checksupport.dcl +++ b/frontend/checksupport.dcl @@ -15,6 +15,7 @@ cIsADclModule :== True cNeedStdArray :== 1 cNeedStdEnum :== 2 cNeedStdDynamics:== 4 +cNeedStdGeneric :== 8 // AA :: VarHeap :== Heap VarInfo @@ -41,11 +42,12 @@ cConstructorDefs :== 1 cSelectorDefs :== 2 cClassDefs :== 3 cMemberDefs :== 4 -cInstanceDefs :== 5 -cFunctionDefs :== 6 -cMacroDefs :== 7 +cGenericDefs :== 5 // AA +cInstanceDefs :== 6 +cFunctionDefs :== 7 +cMacroDefs :== 8 -cConversionTableSize :== 8 +cConversionTableSize :== 9 // AA :: CommonDefs = { com_type_defs :: !.{# CheckedTypeDef} @@ -55,6 +57,7 @@ cConversionTableSize :== 8 , com_member_defs :: !.{# MemberDef} , com_instance_defs :: !.{# ClassInstance} // , com_instance_types :: !.{ SymbolType} + , com_generic_defs :: !.{# GenericDef} // AA } :: Declarations = { @@ -135,6 +138,7 @@ instance <<< IdentPos, ExplImpInfo, DeclarationInfo , ef_cons_defs :: !.{# ConsDef} , ef_member_defs :: !.{# MemberDef} , ef_class_defs :: !.{# ClassDef} + , ef_generic_defs :: !.{# GenericDef} // AA , ef_modules :: !.{# DclModule} , ef_is_macro_fun :: !Bool } |