| Index: tools/json_schema_compiler/code.py
|
| diff --git a/tools/json_schema_compiler/code.py b/tools/json_schema_compiler/code.py
|
| index e4326d49d808f1dc4d03373c5273b65678b683d8..009eb12f16953c80616f29ab3d9d3d8df374ac58 100644
|
| --- a/tools/json_schema_compiler/code.py
|
| +++ b/tools/json_schema_compiler/code.py
|
| @@ -56,6 +56,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.
|
|
|
|
|