diff options
Diffstat (limited to 'tools/json_schema_compiler/compiler.py')
-rw-r--r-- | tools/json_schema_compiler/compiler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/json_schema_compiler/compiler.py b/tools/json_schema_compiler/compiler.py index 7965d18..54ab62f 100644 --- a/tools/json_schema_compiler/compiler.py +++ b/tools/json_schema_compiler/compiler.py @@ -75,8 +75,8 @@ if __name__ == '__main__': # The output filename must match the input filename for gyp to deal with it # properly. out_file = namespace.name - type_generator = cpp_type_generator.CppTypeGenerator(root_namespace, - namespace, out_file) + type_generator = cpp_type_generator.CppTypeGenerator( + root_namespace, namespace, namespace.unix_name) for referenced_namespace in api_model.namespaces.values(): type_generator.AddNamespace( referenced_namespace, |