From ed0094801ce72f71c7223affa33a5fc727d9a1bb Mon Sep 17 00:00:00 2001 From: johnvg Date: Thu, 11 Jun 2009 15:21:59 +0000 Subject: restore all modified pointers (prevents compiler crash if an explicit import of a type is missing on a cycle of definition modules) git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1741 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- frontend/explicitimports.icl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend') diff --git a/frontend/explicitimports.icl b/frontend/explicitimports.icl index 2690c60..6885428 100644 --- a/frontend/explicitimports.icl +++ b/frontend/explicitimports.icl @@ -466,7 +466,7 @@ checkExplicitImportCompleteness dcls_explicit explicit_qualified_imports dcl_mod { box_ccs = box_ccs } { ccs_dcl_modules, ccs_icl_functions,ccs_macro_defs,ccs_expr_heap, ccs_symbol_table, ccs_error, ccs_heap_changes_accu } = ccs.box_ccs // repair heap contents - ccs_symbol_table = restore_symbol_table_after_checking_completeness modified_symbol_ptrs ccs_symbol_table + ccs_symbol_table = restore_symbol_table_after_checking_completeness ccs_heap_changes_accu ccs_symbol_table cs = { cs & cs_symbol_table = ccs_symbol_table, cs_error = ccs_error } = (ccs_dcl_modules, ccs_icl_functions,ccs_macro_defs, ccs_expr_heap, cs) -- cgit v1.2.3