Add begin:/end: for do: blocks

This commit is contained in:
Bruce Hill 2025-03-16 14:02:53 -04:00
parent 469b1e0679
commit b0b3a5f95a

View File

@ -146,6 +146,7 @@ public Path_t Path$relative_to(Path_t path, Path_t relative_to)
for (; shared < path.components.length && shared < relative_to.components.length; shared++) {
Text_t *p = (Text_t*)(path.components.data + shared*path.components.stride);
Text_t *r = (Text_t*)(relative_to.components.data + shared*relative_to.components.stride);
printf("%ld shared: %k vs %r\n", p, r);
if (!Text$equal_values(*p, *r))
break;
}