aboutsummaryrefslogtreecommitdiff
path: root/frontend/explicitimports.icl
diff options
context:
space:
mode:
authorjohnvg2007-01-29 16:37:15 +0000
committerjohnvg2007-01-29 16:37:15 +0000
commit55f9d15fe8ea89c989986f7963170fd10c4a9467 (patch)
treec428e33ad1bc42f8a88299756b335d4ca10f5248 /frontend/explicitimports.icl
parentrename super_components as components_importing_module or (diff)
remove instances from ExplImpComponentNrs, because it is always []
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1643 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/explicitimports.icl')
-rw-r--r--frontend/explicitimports.icl10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontend/explicitimports.icl b/frontend/explicitimports.icl
index 4c56ea2..57adb6f 100644
--- a/frontend/explicitimports.icl
+++ b/frontend/explicitimports.icl
@@ -34,18 +34,18 @@ markExplImpSymbols component_nr (expl_imp_info, cs_symbol_table)
(ste, cs_symbol_table) = readPtr eii_ident.id_info cs_symbol_table
cai = { cai_component_nr = component_nr, cai_index = i }
= case ste.ste_kind of
- STE_ExplImpComponentNrs component_nrs _
- # new_ste_kind = STE_ExplImpComponentNrs [cai:component_nrs] []
+ STE_ExplImpComponentNrs component_nrs
+ # new_ste_kind = STE_ExplImpComponentNrs [cai:component_nrs]
cs_symbol_table = writePtr eii_ident.id_info { ste & ste_kind = new_ste_kind } cs_symbol_table
-> (changed_symbols_accu, expl_imp_info_from_component, cs_symbol_table)
_
- # new_ste = { ste & ste_kind = STE_ExplImpComponentNrs [cai] [], ste_previous = ste }
+ # new_ste = { ste & ste_kind = STE_ExplImpComponentNrs [cai], ste_previous = ste }
-> ([eii_ident:changed_symbols_accu], expl_imp_info_from_component, writePtr eii_ident.id_info new_ste cs_symbol_table)
updateExplImpForMarkedSymbol :: !Index !Declaration !SymbolTableEntry !u:{#DclModule} !{!{!*ExplImpInfo}} !*SymbolTable
-> (!u:{#DclModule}, !{!{!.ExplImpInfo}}, !.SymbolTable)
-updateExplImpForMarkedSymbol mod_index decl {ste_kind=STE_ExplImpComponentNrs component_numbers inst_indices} dcl_modules expl_imp_infos cs_symbol_table
- = foldSt (addExplImpInfo mod_index decl inst_indices) component_numbers (dcl_modules, expl_imp_infos, cs_symbol_table)
+updateExplImpForMarkedSymbol mod_index decl {ste_kind=STE_ExplImpComponentNrs component_numbers} dcl_modules expl_imp_infos cs_symbol_table
+ = foldSt (addExplImpInfo mod_index decl []) component_numbers (dcl_modules, expl_imp_infos, cs_symbol_table)
updateExplImpForMarkedSymbol _ _ entry dcl_modules expl_imp_infos cs_symbol_table
= (dcl_modules, expl_imp_infos, cs_symbol_table)