THRIFT-5528 Incorrect HTML link for referenced typedefs

Client: html
Patch: Jens Geyer
This commit is contained in:
Jens Geyer 2022-02-23 18:22:57 +01:00
parent 9bee877e66
commit 8fea4ea0c1

View File

@ -694,7 +694,7 @@ int t_html_generator::print_type(t_type* ttype) {
string type_name = ttype->get_name();
f_out_ << "<a href=\"" << make_file_link(prog_name + ".html") << "#";
if (ttype->is_typedef()) {
f_out_ << "Struct_";
f_out_ << "Typedef_";
} else if (ttype->is_struct() || ttype->is_xception()) {
f_out_ << "Struct_";
} else if (ttype->is_enum()) {