Index: tools/json_schema_compiler/h_generator.py |
diff --git a/tools/json_schema_compiler/h_generator.py b/tools/json_schema_compiler/h_generator.py |
index ba7c5ca133a27b4a4ebc5e87089b5a77071a143c..176dacb2dc2c8333d6a648101764b0d1a1550713 100644 |
--- a/tools/json_schema_compiler/h_generator.py |
+++ b/tools/json_schema_compiler/h_generator.py |
@@ -158,9 +158,10 @@ class HGenerator(object): |
for prop in self._cpp_type_generator.ExpandParams(props): |
if prop.description: |
c.Comment(prop.description) |
- c.Append('%s %s;' % ( |
+ (c.Append('%s %s;' % ( |
self._cpp_type_generator.GetType(prop, wrap_optional=True), |
prop.unix_name)) |
+ ) |
not at google - send to devlin
2012/07/26 00:01:03
need the parens?
btw the line below can be moved
|
c.Append() |
return c |