[Telepathy-commits] [telepathy-spec/master] doc-generator.xsl: warn when 'out' arguments have no name
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Jan 19 04:05:03 PST 2009
---
tools/doc-generator.xsl | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/tools/doc-generator.xsl b/tools/doc-generator.xsl
index f9630f8..90acabc 100644
--- a/tools/doc-generator.xsl
+++ b/tools/doc-generator.xsl
@@ -710,17 +710,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
</xsl:if>
</xsl:when>
<xsl:when test="@direction='out'">
- <!-- FIXME: This is commented out until someone with a lot of time
- on their hands goes through the spec adding names to all the "out"
- arguments
-
<xsl:if test="not(@name) or @name = ''">
<xsl:message terminate="no">
- <xsl:text>INFO: an 'out' arg of method </xsl:text>
+ <xsl:text>WARNING: an 'out' arg of method </xsl:text>
<xsl:value-of select="concat(../../@name, '.', ../@name)"/>
<xsl:text> has no name</xsl:text>
</xsl:message>
- </xsl:if>-->
+ </xsl:if>
</xsl:when>
<xsl:otherwise>
<xsl:message terminate="yes">
--
1.5.6.5
More information about the Telepathy-commits
mailing list