summaryrefslogtreecommitdiff
path: root/codegen.py
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-11-05 14:08:13 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2012-11-05 14:08:13 +0000
commit6fbb6dc875e75ed8c797b1a028cbcfb4c60695f9 (patch)
treea84544c20858e11dae2180fd5e9bfb7b37950dcf /codegen.py
parentc9cf8fbbbb5442e800b670d3cf18ff14707dc68f (diff)
downloadrabbitmq-server-git-6fbb6dc875e75ed8c797b1a028cbcfb4c60695f9.tar.gz
fix bug
Diffstat (limited to 'codegen.py')
-rw-r--r--codegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen.py b/codegen.py
index 6c36753c9c..255e720416 100644
--- a/codegen.py
+++ b/codegen.py
@@ -281,7 +281,7 @@ def genErl(spec):
if len(c.fields) == 0:
print " <<>>;"
else:
- print " R0 = <<>>,"
+ print " R0 = [<<>>],"
for field in c.fields:
writePropFieldLine(field)
print " list_to_binary([%s | lists:reverse(R%s)]);" % \