Move byte for unyped pointers

This commit is contained in:
2025-02-01 09:21:29 +01:00
parent 4011adbe2b
commit 5108016d39
5 changed files with 37 additions and 27 deletions

View File

@ -246,7 +246,9 @@ namespace gcc
void generic_visitor::visit(boot::number_literal<unsigned char> *character)
{
this->current_expression = build_int_cstu(elna_char_type_node, character->number());
auto symbol = this->symbol_map->lookup("Char");
this->current_expression = build_int_cstu(symbol->payload, character->number());
}
void generic_visitor::visit(boot::number_literal<nullptr_t> *)