diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-01-05 10:12:44 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-01-05 10:12:44 +0000 |
commit | 5d6a6b46528b085d767f419a565f080941b6cd3c (patch) | |
tree | 781002753ed4c10d787c795fec6d359e8084ae38 /fix/Values.xsl | |
parent | 3fdc413fd6a1d4c6698da26f36753fb6a324b23a (diff) | |
download | wireshark-5d6a6b46528b085d767f419a565f080941b6cd3c.tar.gz |
Fix regression from upgrade FIX 5.0 (Revision 46944)
../../../epan/dissectors/packet-fix.h:1450:10: error: multi-character character constant [-Werror=multichar]
../../../epan/dissectors/packet-fix.h:1451:10: error: multi-character character constant [-Werror=multichar]
[...]
When FIX field type is MULTIPLESTRINGVALUE use string_string (not value_string)
And regenerated packet-fix.h
svn path=/trunk/; revision=46947
Diffstat (limited to 'fix/Values.xsl')
-rw-r--r-- | fix/Values.xsl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fix/Values.xsl b/fix/Values.xsl index 619cd9e54a..e4a2decb32 100644 --- a/fix/Values.xsl +++ b/fix/Values.xsl @@ -36,6 +36,7 @@ translate(@description,$uppercase,$smallcase) <xsl:variable name="val_type" > <xsl:choose> <xsl:when test="@type='STRING'"> string_string </xsl:when> + <xsl:when test="@type='MULTIPLESTRINGVALUE'"> string_string </xsl:when> <xsl:otherwise> value_string </xsl:otherwise> </xsl:choose> </xsl:variable> @@ -44,6 +45,8 @@ translate(@description,$uppercase,$smallcase) { <xsl:value-of select="@enum"/>, "<xsl:value-of select="translate(@description,'_',' ')"/>" },</xsl:when> <xsl:when test="../@type='STRING'"> { "<xsl:value-of select="@enum"/>", "<xsl:value-of select="translate(@description,'_',' ')"/>" },</xsl:when> + <xsl:when test="../@type='MULTIPLESTRINGVALUE'"> + { "<xsl:value-of select="@enum"/>", "<xsl:value-of select="translate(@description,'_',' ')"/>" },</xsl:when> <xsl:otherwise> { '<xsl:value-of select="@enum"/>', "<xsl:value-of select="translate(@description,'_',' ')"/>" },</xsl:otherwise> </xsl:choose> |