diff options
| author | Alan Conway <aconway@apache.org> | 2013-05-02 21:47:13 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-05-02 21:47:13 +0000 |
| commit | 78254d0f12bd2df75a768f6f9a2a2c0e61d34dad (patch) | |
| tree | 700cb53009b9b5651fb1c70c908b17bc1b529c1f /cpp/rubygen/0-10/exceptions.rb | |
| parent | cdf0d9e8281ef342ad375c9684dc461ff5f2a995 (diff) | |
| download | qpid-python-78254d0f12bd2df75a768f6f9a2a2c0e61d34dad.tar.gz | |
QPID-4798: Fix up c++ code generation to use stripped spec files.
The stripped specs have no <doc> elements, this was tripping up the code
generator. Fixed the generator to process <doc> elements if they are present but
to carry on without them if they are not.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1478582 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/0-10/exceptions.rb')
| -rwxr-xr-x | cpp/rubygen/0-10/exceptions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/rubygen/0-10/exceptions.rb b/cpp/rubygen/0-10/exceptions.rb index 02e3a5d547..fed8fdac5b 100755 --- a/cpp/rubygen/0-10/exceptions.rb +++ b/cpp/rubygen/0-10/exceptions.rb @@ -32,7 +32,7 @@ class GenExceptions < CppGen enum.choices.each { |c| name=c.name.typename+suffix+"Exception" genl - doxygen_comment { genl c.doc } + doxygen_comment { genl c.doc } if c.doc struct(name, "public #{base}") { genl "#{name}(const std::string& msg=std::string())" genl " : #{base}(#{ns}::#{c.name.shout}, msg) {}" |
