Compare commits

..

No commits in common. "c08befd0c0822c97efed5daf7b8ffb9556a0d902" and "9f4e33f23dfe298429ed83364bf050ec5ac77356" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -330,11 +330,11 @@ return_expr* linker::generate_module_return(code_block* block) {
auto value = new hash_expr(block->get_location());
result->set_value(value);
for (const auto& i : finder->do_find(block)) {
auto pair = new hash_pair(block->get_location());
// do not export symbol begins with '_'
if (i.name.length() && i.name[0]=='_') {
continue;
}
auto pair = new hash_pair(block->get_location());
pair->set_name(i.name);
pair->set_value(new identifier(block->get_location(), i.name));
value->add_member(pair);