Fix issue where in error messages, integers were assumed to be unicode characters.

This commit is contained in:
Christoffer Lerno
2023-10-09 00:41:31 +02:00
parent ebddbfb416
commit 31bc766944
6 changed files with 13 additions and 5 deletions

View File

@@ -1402,6 +1402,7 @@ EXIT:
return poisoned_expr;
}
expr_int->const_expr.const_kind = CONST_INTEGER;
expr_int->const_expr.is_character = false;
expr_int->const_expr.is_hex = hex_characters > 0;
Type *type_base = NULL;
if (type_bits)