Skip to content

Commit

Permalink
feat(objectionary#850): add useful comment
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Nov 23, 2024
1 parent 5f07582 commit e152386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ private XML parse(final String eoprog) throws IOException {
* @return Unrolled XMIR.
*/
private static XML unroll(final XML parsed) {
// TODO: We can remove roll-data!
return new Xsline(
new TrFast(
new TrJoined<Shift>(
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/org/eolang/parser/roll-data.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ SOFTWARE.
</o>
-->
<xsl:output encoding="UTF-8" method="xml"/>
<xsl:template match="o[count(o)=1 and o[count(o)=1 and o[@data='bytes']]]">
<xsl:template match="o[count(o)=1 and o[count(o)=1 and o[@base='bytes']]]">
<xsl:element name="o">
<xsl:for-each select="@*">
<xsl:attribute name="{name()}">
Expand All @@ -42,7 +42,6 @@ SOFTWARE.
</xsl:for-each>
<xsl:element name="o">
<xsl:attribute name="base" select="'bytes'"/>
<xsl:attribute name="data" select="'bytes'"/>
<xsl:value-of select="o[1]/o[1]/text()"/>
</xsl:element>
</xsl:element>
Expand Down

0 comments on commit e152386

Please sign in to comment.