1
0
mirror of https://github.com/Ed94/gencpp.git synced 2025-07-07 22:25:45 -07:00

fix clang format for enum_underlying

This commit is contained in:
2024-12-11 00:13:36 -05:00
parent 44d0a9cf9d
commit caec5d8dfc
3 changed files with 19 additions and 5 deletions
base/components
gen_c_library
scripts

@ -346,7 +346,7 @@ void enum_to_string_def(CodeEnum self, String* result )
, body_to_string(self->Body)
);
else if ( self->UnderlyingTypeMacro )
string_append_fmt( result, "%SC %S\n\n{\n%S\n}"
string_append_fmt( result, "%SC %S\n{\n%S\n}"
, self->Name
, code_to_string(self->UnderlyingTypeMacro)
, body_to_string(self->Body)