cgen,markused: remove unused enum declarations too (#25033)

This commit is contained in:
Felipe Pena 2025-08-04 02:44:21 -03:00 committed by GitHub
parent 3b7ada1621
commit b74e60b5a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 2 deletions

View file

@ -729,6 +729,7 @@ fn (t Tree) enum_decl(node ast.EnumDecl) &Node {
obj.add('comments', t.array_node_comment(node.comments))
obj.add_terse('attrs', t.array_node_attr(node.attrs))
obj.add_terse('typ', t.type_node(node.typ))
obj.add_terse('enum_typ', t.type_node(node.enum_typ))
return obj
}