summaryrefslogtreecommitdiff
path: root/codegen.py
diff options
context:
space:
mode:
authorMichael Bridgen <mikeb@lshift.net>2010-02-15 13:05:01 +0000
committerMichael Bridgen <mikeb@lshift.net>2010-02-15 13:05:01 +0000
commitec6c2896404d2d3d4ea86475facfa90a12ff2f71 (patch)
treeeb7539cbec2d8a880e339fd9eda0cb9e3c5fa79e /codegen.py
parent65869973d6f21a5165de6257c8461401fcefa61f (diff)
parentaf61f0ed480439be4f2930ced288c6d95f74042e (diff)
downloadrabbitmq-server-ec6c2896404d2d3d4ea86475facfa90a12ff2f71.tar.gz
De-bitrot by merging default in. Passes rabbit_tests:all_tests() and
the ../rabbitmq-test test suite. Some unused variables appear to have crept in during previous commits to the branch; will fix in another commit.
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 96109610..b5c91cbd 100644
--- a/codegen.py
+++ b/codegen.py
@@ -368,6 +368,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: