summaryrefslogtreecommitdiff
path: root/codegen.py
diff options
context:
space:
mode:
authorMichael Bridgen <mikeb@lshift.net>2009-11-17 15:52:13 +0000
committerMichael Bridgen <mikeb@lshift.net>2009-11-17 15:52:13 +0000
commit27caa4f5d18b9bbd56059811f3a7acb51505b1c9 (patch)
treef4af67f025c5ae17bcefca88c28d8ede837236e1 /codegen.py
parentf861a8286e852758896fd75fc7916c1d295c5abf (diff)
parentebdf272770185490f258e5c1ea947c6261ff13ba (diff)
downloadrabbitmq-server-27caa4f5d18b9bbd56059811f3a7acb51505b1c9.tar.gz
Merge from default, to get recent work as well as support for field-array.
Diffstat (limited to 'codegen.py')
-rw-r--r--codegen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/codegen.py b/codegen.py
index 1c5b2b54..52c45a95 100644
--- a/codegen.py
+++ b/codegen.py
@@ -340,6 +340,7 @@ def genHrl(spec):
print "-define(PROTOCOL_VERSION_MAJOR, %d)." % (spec.major)
print "-define(PROTOCOL_VERSION_MINOR, %d)." % (spec.minor)
+ print "-define(PROTOCOL_VERSION_REVISION, %d)." % (spec.revision)
print "-define(PROTOCOL_PORT, %d)." % (spec.port)
for (c,v,cls) in spec.constants: