This bug prevents protobuf files containing Enums from being parsed
correctly.
Change-Id: I06d32bc698cf00b8582c07b49335c3c5cfd7dab7
diff --git a/xos/genx/tool/xos2jinja.py b/xos/genx/tool/xos2jinja.py
index 3db2b41..743d33c 100644
--- a/xos/genx/tool/xos2jinja.py
+++ b/xos/genx/tool/xos2jinja.py
@@ -34,7 +34,6 @@
count_stack = Stack()
content=""
offset=0
- prefix=""
current_message_name = None
def get_stack(self):
@@ -172,7 +171,6 @@
if self.verbose > 3:
print "Enum, [%s] body=%s\n\n" % (obj.name, obj.body)
- self.prefixize(obj.name, obj.name.value)
return True
def visit_MessageDefinition(self, obj):