summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCpp/AST.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCpp/AST.cpp')
-rw-r--r--Userland/Libraries/LibCpp/AST.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCpp/AST.cpp b/Userland/Libraries/LibCpp/AST.cpp
index 237f550dfa..40f960b785 100644
--- a/Userland/Libraries/LibCpp/AST.cpp
+++ b/Userland/Libraries/LibCpp/AST.cpp
@@ -287,7 +287,9 @@ void EnumDeclaration::dump(FILE* output, size_t indent) const
outln(output, "{}", m_name);
for (auto& entry : m_entries) {
print_indent(output, indent + 1);
- outln(output, "{}", entry);
+ outln(output, "{}", entry.name);
+ if (entry.value)
+ entry.value->dump(output, indent + 2);
}
}