diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2022-01-18 11:03:41 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-18 11:03:41 +0000 |
| commit | 841c428273d0b1e0a9f78ac8c0726daab69d7e35 (patch) | |
| tree | c543fd68d87efce2a36b598e8d376c6f28b48f3c /src/docs_writer.cpp | |
| parent | 686dbb4421824f17164443b2538b587e91d400a5 (diff) | |
| parent | 6b830f42b6a8baec77ee0c8d12333ca2ad4a296f (diff) | |
Merge pull request #1433 from odin-lang/html-docs-printer
Initial Work on HTML Docs Printer
Diffstat (limited to 'src/docs_writer.cpp')
| -rw-r--r-- | src/docs_writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docs_writer.cpp b/src/docs_writer.cpp index 94b43be99..762a2afe1 100644 --- a/src/docs_writer.cpp +++ b/src/docs_writer.cpp @@ -513,7 +513,7 @@ OdinDocTypeIndex odin_doc_type(OdinDocWriter *w, Type *type) { break; case Type_Generic: doc_type.kind = OdinDocType_Generic; - doc_type.name = odin_doc_write_string(w, type->Generic.name); + doc_type.name = odin_doc_write_string(w, type->Generic.entity->token.string); if (type->Generic.specialized) { doc_type.types = odin_doc_type_as_slice(w, type->Generic.specialized); } |