| Index: tools/json_schema_compiler/code.py
|
| diff --git a/tools/json_schema_compiler/code.py b/tools/json_schema_compiler/code.py
|
| index 07f657474472ea53fc459eae33df5bcff21cc85b..2c637c587ebe4b7dc74b8a0a97c99801c9b6007a 100644
|
| --- a/tools/json_schema_compiler/code.py
|
| +++ b/tools/json_schema_compiler/code.py
|
| @@ -54,6 +54,13 @@ class Code(object):
|
|
|
| return self
|
|
|
| + def Cblock(self, code):
|
| + """Concatenates another Code object |code| onto this one followed by a
|
| + blank line, if |code| is non-empty."""
|
| + if not code.IsEmpty():
|
| + self.Concat(code).Append()
|
| + return self
|
| +
|
| def Sblock(self, line=''):
|
| """Starts a code block.
|
|
|
|
|