Skip to content

Commit

Permalink
fixed remove pretty-printing: now with removeH() and removeV()
Browse files Browse the repository at this point in the history
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@490 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information
grammarware committed Feb 23, 2009
1 parent a0bc05d commit b24820c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions shared/xsl/xbgf2xbnf.xslt
Expand Up @@ -66,6 +66,23 @@
</xsl:text>
</xsl:template>

<xsl:template match="xbgf:remove">
<xsl:choose>
<xsl:when test="./vertical">
<xsl:text>removeV(
</xsl:text>
<xsl:apply-templates select="./vertical/bgf:production"/>
</xsl:when>
<xsl:when test="./horizontal">
<xsl:text>removeH(
</xsl:text>
<xsl:apply-templates select="./horizontal/bgf:production"/>
</xsl:when>
</xsl:choose>
<xsl:text>);
</xsl:text>
</xsl:template>

<xsl:template match="xbgf:deyaccify|xbgf:eliminate|xbgf:horizontal|xbgf:inline|xbgf:undefine">
<xsl:value-of select="local-name()" />
<xsl:text>(</xsl:text>
Expand Down

0 comments on commit b24820c

Please sign in to comment.