string::new_struct_to_str and io::struct_to_format to dump struct data. io::print will now print structs.

This commit is contained in:
Christoffer Lerno
2024-10-26 21:00:07 +02:00
parent cc6a24cf80
commit 4be08ee0bd
6 changed files with 62 additions and 9 deletions

View File

@@ -680,7 +680,7 @@ no_match: ; preds = %compare
!90 = !DIFile(filename: "io.c3"
!91 = !DILocation(line: 42, column: 7, scope: !78)
!92 = !DILocalVariable(name: "len"
!93 = distinct !DISubprogram(name: "fprintn", linkageName: "fprintn", scope: !90, file: !90, line: 166, scopeLine: 166, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !5, retainedNodes: !20)
!93 = distinct !DISubprogram(name: "fprintn", linkageName: "fprintn", scope: !90
!94 = !DILocation
!95 = !DILocation
!96 = !DILocation