diff options
Diffstat (limited to 'compiler/cpp/src/thrift/generate/t_haxe_generator.cc')
-rw-r--r-- | compiler/cpp/src/thrift/generate/t_haxe_generator.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/cpp/src/thrift/generate/t_haxe_generator.cc b/compiler/cpp/src/thrift/generate/t_haxe_generator.cc index 8893742d4..aa628b7ab 100644 --- a/compiler/cpp/src/thrift/generate/t_haxe_generator.cc +++ b/compiler/cpp/src/thrift/generate/t_haxe_generator.cc @@ -75,6 +75,7 @@ public: void init_generator() override; void close_generator() override; + std::string display_name() const override; void generate_consts(std::vector<t_const*> consts) override; @@ -3017,6 +3018,11 @@ std::string t_haxe_generator::get_enum_class_name(t_type* type) { return package + type->get_name(); } +std::string t_haxe_generator::display_name() const { + return "Haxe"; +} + + THRIFT_REGISTER_GENERATOR( haxe, "Haxe", |