| Index: tools/json_schema_compiler/schema_bundle_generator.py
|
| diff --git a/tools/json_schema_compiler/schema_bundle_generator.py b/tools/json_schema_compiler/schema_bundle_generator.py
|
| index 08cc4a8887f69499ff5deade4f8297f9e17ad1c0..759bbb835a909f79cffbf2e9591adf8d8cea02e1 100644
|
| --- a/tools/json_schema_compiler/schema_bundle_generator.py
|
| +++ b/tools/json_schema_compiler/schema_bundle_generator.py
|
| @@ -77,15 +77,14 @@ class SchemaBundleGenerator(object):
|
| c.Append("public:")
|
| c.Sblock("static void RegisterAll(ExtensionFunctionRegistry* registry) {")
|
| for namespace in self._model.namespaces.values():
|
| + namespace_name = self.CapitalizeFirstLetter(namespace.name.replace(
|
| + "experimental.", ""))
|
| for function in namespace.functions.values():
|
| if function.nocompile:
|
| continue
|
| - namespace_name = self.CapitalizeFirstLetter(namespace.name.replace(
|
| - "experimental.", ""))
|
| function_name = namespace_name + self.CapitalizeFirstLetter(
|
| function.name)
|
| - c.Append("registry->RegisterFunction<%sFunction>();" % (
|
| - function_name))
|
| + c.Append("registry->RegisterFunction<%sFunction>();" % function_name)
|
| c.Eblock("}")
|
| c.Eblock("};")
|
| c.Append()
|
|
|