mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-17 09:32:22 -07:00
apply string size limitations from explicit array types in eval string iterator
This commit is contained in:
@@ -1850,6 +1850,10 @@ ev_string_iter_next(Arena *arena, EV_StringIter *it, String8 *out_string)
|
||||
{
|
||||
string = str8_prefix(string, params->limit_strings_size);
|
||||
}
|
||||
else if(type_kind == E_TypeKind_Array && ptr_data->type->count != 0)
|
||||
{
|
||||
string = str8_prefix(string, ptr_data->type->count);
|
||||
}
|
||||
|
||||
// rjf: escape and quote
|
||||
B32 string__is_escaped_and_quoted = (!(params->flags & EV_StringFlag_DisableStringQuotes) || depth > 0);
|
||||
|
||||
Reference in New Issue
Block a user