Merge pull request #6536 from tntmonty/InSourceOrderFix

Fix output of filename when outputting docs with the -in-source-order option.
This commit is contained in:
Jeroen van Rijn
2026-04-08 14:19:42 +02:00
committed by GitHub

View File

@@ -289,7 +289,7 @@ gb_internal void print_doc_package(CheckerInfo *info, AstPackage *pkg) {
}
curr_file = e->file;
String filename = remove_directory_from_path(curr_file->fullpath);
print_doc_line(1, "file: %s", filename);
print_doc_line(1, "file: %.*s", LIT(filename));
}
} else {
if (curr_entity_kind != e->kind) {