Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
eb366d04
Commit
eb366d04
authored
Mar 12, 2001
by
Martin Wierich
Browse files
Ensure that modules that are imported from the main dcl module appear
in ".depend" instructions in abc files
parent
d5075d7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/check.icl
View file @
eb366d04
...
...
@@ -1435,10 +1435,12 @@ check_module2 mod_name mod_imported_objects mod_imports mod_type icl_global_func
|
not
cs
.
cs_error
.
ea_ok
=
(
False
,
abort
"evaluated error 1 (check.icl)"
,
{},
{},
No
,
{},
cs
.
cs_x
.
x_main_dcl_module_n
,
heaps
,
cs
.
cs_predef_symbols
,
cs
.
cs_symbol_table
,
cs
.
cs_error
.
ea_file
/* TD */
,
[])
#
(
imported_module_numbers
,
dcl_modules
)
#
(
imported_module_numbers_of_main_dcl_mod
,
dcl_modules
)
=
dcl_modules
![
main_dcl_module_n
].
dcl_imported_module_numbers
(
imported_module_numbers
,
dcl_modules
)
=
foldSt
compute_used_module_nrs
expl_imp_indices
(
addNr
main_dcl_module_n
(
addNr
cPredefinedModuleIndex
EndNumbers
)
,
(
addNr
cPredefinedModuleIndex
imported_module_numbers_of_main_dcl_mod
,
dcl_modules
)
dcl_modules
=
add_function_conversion_table
dcl_to_icl_function_conversions
main_dcl_module_n
dcl_modules
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment