📝 update
This commit is contained in:
parent
25e202fbaf
commit
569d423772
|
@ -1201,8 +1201,9 @@ void codegen::symbol_dump(std::ostream& out) const {
|
||||||
for(const auto& domain : experimental_namespace) {
|
for(const auto& domain : experimental_namespace) {
|
||||||
out << "<" << domain.first << ">\n";
|
out << "<" << domain.first << ">\n";
|
||||||
for(const auto& i : domain.second) {
|
for(const auto& i : domain.second) {
|
||||||
out << " " << i << ": 0x";
|
out << " 0x" << std::setw(4) << std::setfill('0');
|
||||||
out << std::hex << global.at(i) << std::dec << "\n";
|
out << std::hex << global.at(i) << std::dec << " ";
|
||||||
|
out << i << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -279,8 +279,6 @@ code_block* linker::load(code_block* root, u16 fileindex) {
|
||||||
}
|
}
|
||||||
auto tmp = import_regular_file((call_expr*)i);
|
auto tmp = import_regular_file((call_expr*)i);
|
||||||
tree->add_expression(generate_module_definition(tmp));
|
tree->add_expression(generate_module_definition(tmp));
|
||||||
// link(tree, tmp);
|
|
||||||
// delete tmp;
|
|
||||||
}
|
}
|
||||||
// add root to the back of tree
|
// add root to the back of tree
|
||||||
auto file_head = new file_info(
|
auto file_head = new file_info(
|
||||||
|
|
Loading…
Reference in New Issue