mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
LibCpp: Parse enum members with explicit values
This commit is contained in:
parent
67a19eaecb
commit
8fefbfd5ac
3 changed files with 16 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue