summaryrefslogtreecommitdiff
path: root/codegen.py
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2010-06-15 15:01:11 +0100
committerEmile Joubert <emile@rabbitmq.com>2010-06-15 15:01:11 +0100
commit2ca2876a06926d0dc4da27486ef7b3d122fd9f05 (patch)
treed98048f26096100ac1f5a3475a6e5a53f4fa67b8 /codegen.py
parentfc47e9132cbc30fd61e9c6dcdfbf7c8607d21e16 (diff)
parente88aca9032ae06c5c6989f844dc0ed921a0e40e4 (diff)
downloadrabbitmq-server-2ca2876a06926d0dc4da27486ef7b3d122fd9f05.tar.gz
Merged default into amqp_0_9_1
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 0d6d9d56..d090be9b 100644
--- a/codegen.py
+++ b/codegen.py
@@ -412,6 +412,7 @@ def genHrl(spec):
printFileHeader()
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: