Skip to content

Commit

Permalink
feat(objectionary#834): change formatting a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Nov 11, 2024
1 parent 58df68c commit 1dc0c03
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 27,238 deletions.
2 changes: 1 addition & 1 deletion src/it/jna/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
# Just to compare, the 'short' path takes 13 seconds to run, while the 'full' path
# takes 31 minutes.
invoker.goals=clean verify -e -B
invoker.profiles=full
invoker.profiles=short
4 changes: 4 additions & 0 deletions src/main/resources/org/eolang/parser/add-refs.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@ SOFTWARE.
global or just a mistake.
-->
<xsl:output encoding="UTF-8" method="xml"/>

<xsl:template match="o[@base]">
<xsl:apply-templates select="." mode="with-base"/>
</xsl:template>

<xsl:template match="o[@base]" mode="with-base">
<xsl:apply-templates select="." mode="no-dots"/>
</xsl:template>

<xsl:template match="o[@base!='$' and @base!='^']" mode="no-dots">
<xsl:variable name="current" select="."/>
<xsl:copy>
Expand Down Expand Up @@ -82,6 +85,7 @@ SOFTWARE.
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>

<xsl:template match="node()|@*" mode="#all">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
Expand Down
Loading

0 comments on commit 1dc0c03

Please sign in to comment.