diff options
author | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2018-09-10 15:37:17 -0400 |
---|---|---|
committer | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2018-09-10 15:37:17 -0400 |
commit | f169c919272a153a50312446a86d45f3a0b4749e (patch) | |
tree | 1edddd7d843169aca1b12e817706253f631f0054 | |
parent | 91316d1e8f91c9e271b18d80f87b20a4643731a3 (diff) | |
download | tame-2.17.5.tar.gz tame-2.17.5.tar.bz2 tame-2.17.5.zip |
expand: Correct priority of constant suffix templatesv2.17.5
* src/current/include/preproc/expand.xsl (preproc:expand)[c:const]: Adjust
priorities.
-rw-r--r-- | src/current/include/preproc/expand.xsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/current/include/preproc/expand.xsl b/src/current/include/preproc/expand.xsl index fa9694d..8ea5228 100644 --- a/src/current/include/preproc/expand.xsl +++ b/src/current/include/preproc/expand.xsl @@ -288,7 +288,7 @@ <!-- constants that contain 'e' (scientific notation) should be expanded; allows for avoiding constants with many zeroes, which is hard to read --> -<xsl:template mode="preproc:expand" priority="5" +<xsl:template mode="preproc:expand" priority="6" match="c:const[ substring-before( @value, 'e' ) ] |lv:const[ substring-before( @value, 'e' ) ]"> <xsl:copy> @@ -304,7 +304,7 @@ </xsl:copy> </xsl:template> -<xsl:template mode="preproc:expand" priority="5" +<xsl:template mode="preproc:expand" priority="6" match="c:const[ substring-before( @value, 'm' ) ] |lv:const[ substring-before( @value, 'm' ) ]"> <xsl:copy> @@ -321,7 +321,7 @@ </xsl:copy> </xsl:template> -<xsl:template mode="preproc:expand" priority="5" +<xsl:template mode="preproc:expand" priority="6" match="c:const[ substring-before( @value, 'k' ) ] |lv:const[ substring-before( @value, 'k' ) ]"> <xsl:copy> |