From 72674709aff617f67e531bc9a3eae73252d0ad34 Mon Sep 17 00:00:00 2001 From: asv Date: Wed, 29 Jun 2005 13:57:26 +0000 Subject: [PATCH] Fix for bug 8337 - "return" out-parameter must be the first one in outParameter-list. --- src/ModuleGenerator/IDLparser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ModuleGenerator/IDLparser.py b/src/ModuleGenerator/IDLparser.py index 77b4b037e..3cf31f9b7 100644 --- a/src/ModuleGenerator/IDLparser.py +++ b/src/ModuleGenerator/IDLparser.py @@ -637,15 +637,15 @@ class ModuleCatalogVisitor (idlvisitor.AstVisitor): self.currentService = self.currentInterface.createService \ (node.identifier()) - - for c in node.parameters(): - c.accept(self) node.returnType().accept(self) if (self.currentType != "void"): self.currentService.createOutParameter \ ("return", self.currentType) + for c in node.parameters(): + c.accept(self) + for i in node.comments(): self.currentInterface.comments.append(str(i)) -- 2.39.2