aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohnvg2009-06-11 15:21:59 +0000
committerjohnvg2009-06-11 15:21:59 +0000
commited0094801ce72f71c7223affa33a5fc727d9a1bb (patch)
tree377aa7d2d5f902478a2e1681f13bfd5a0a1b9507
parentmake function add_new_variable global instead of local (diff)
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
-rw-r--r--frontend/explicitimports.icl2
1 files changed, 1 insertions, 1 deletions
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)