summaryrefslogtreecommitdiff
path: root/codegen.py
diff options
context:
space:
mode:
authorMichael Bridgen <mikeb@lshift.net>2009-10-05 15:31:53 +0100
committerMichael Bridgen <mikeb@lshift.net>2009-10-05 15:31:53 +0100
commitcc465cfbb227e982ef73afde41226e622e4d1fd6 (patch)
tree25f878eaf5a22fd1983a48cb09002a70ea631ab5 /codegen.py
parentbf2c4f0d6f0534a63fb323fdf68c331a7fb38cd0 (diff)
parent2d09562b839c4dda377dea7f948f63b35fa8e6a6 (diff)
downloadrabbitmq-server-cc465cfbb227e982ef73afde41226e622e4d1fd6.tar.gz
Merge from default. Resolved some conflicts due to bool->boolean in
type specs, and a bad automerge in rabbit_reader.erl.
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 533192c5..a21dd779 100644
--- a/codegen.py
+++ b/codegen.py
@@ -319,6 +319,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: