eval: prohibit identifier overrides in macro maps; raddbg: correctly mark dirty state & recompute given watch window mutations; do not escape unquoted value eval strings

This commit is contained in:
Ryan Fleury committed 2025-02-06 11:17:42 -08:00
1 parent 43222e8511
commit 295778f1ca
3 files changed
+8 -2

No files matched your search

+5 -1
View File
@@ -8845,7 +8845,11 @@ rd_append_value_strings_from_eval(Arena *arena, EV_StringFlags flags, U32 defaul
case 2: {string = str8_from_16(arena, str16_cstring((U16 *)string_buffer));}break;
case 4: {string = str8_from_32(arena, str32_cstring((U32 *)string_buffer));}break;
}
String8 string_escaped = ev_escaped_from_raw_string(arena, string);
String8 string_escaped = string;
if(!no_addr || depth > 0)
{
string_escaped = ev_escaped_from_raw_string(arena, string);
}
space_taken += fnt_dim_from_tag_size_string(font, font_size, 0, 0, string_escaped).x;
space_taken += 2*fnt_dim_from_tag_size_string(font, font_size, 0, 0, str8_lit("\"")).x;
if(!no_addr || depth > 0)