1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-14 18:07:35 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator
Linus Groh d38f1fb5b2 LibWeb: Fix bindings codegen for IDL enums with only one member
The SourceGenerator's @else@ mapping is only set in the second iteration
of the loop, causing the generated return for unrecognized values to not
be guarded by an else statement.
We can simply use a hardcoded 'else' here, @else@ is only to create the
first comparison as a plain 'if' and subsequent ones as 'else if'.
2022-09-27 14:56:17 +01:00
..
CMakeLists.txt Everywhere: Rename WrapperGenerator to BindingsGenerator 2022-09-21 23:06:08 +01:00
IDLGenerators.cpp LibWeb: Fix bindings codegen for IDL enums with only one member 2022-09-27 14:56:17 +01:00
main.cpp LibWeb: Add WebIDL to the IDL generator's list of web namespaces 2022-09-26 14:00:31 +01:00