summaryrefslogtreecommitdiff
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
commit228cb7396f4eaf8ac323f40a0bc5ff98cd0dba22 (patch)
treea84544c20858e11dae2180fd5e9bfb7b37950dcf
parent1ce15a6c129007c84e48ed9c20733b7165cb988c (diff)
downloadrabbitmq-server-228cb7396f4eaf8ac323f40a0bc5ff98cd0dba22.tar.gz
fix bug
-rw-r--r--codegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen.py b/codegen.py
index 6c36753c..255e7204 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)]);" % \