path_pt schema type, which bundles a file path & textual location; use to do path relativization on serialize with breakpoints/watch pins

This commit is contained in:
Ryan Fleury
2025-05-08 10:23:46 -07:00
parent b59e8e5024
commit e0202c5c18
4 changed files with 31 additions and 13 deletions
+2 -1
View File
@@ -327,7 +327,8 @@ E_TYPE_ACCESS_FUNCTION_DEF(schema)
{
child_type_key = e_type_key_cons_array(e_type_key_basic(E_TypeKind_U8), child->first->string.size, E_TypeFlag_IsCodeText);
}
else if(str8_match(child_schema->first->string, str8_lit("path"), 0))
else if(str8_match(child_schema->first->string, str8_lit("path"), 0) ||
str8_match(child_schema->first->string, str8_lit("path_pt"), 0))
{
child_type_key = e_type_key_cons_array(e_type_key_basic(E_TypeKind_U8), child->first->string.size, E_TypeFlag_IsPathText);
}