Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Sep 4, 2023
2 parents 6fecf79 + 10f6b0d commit 70f0833
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion eo-parser/src/test/java/org/eolang/parser/XMIRTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ void convertsAntlrToEbnf(@TempDir final Path temp) throws Exception {
Matchers.allOf(
Matchers.containsString("<byte> := /[0-9A-F]/ /[0-9A-F]/ \\\\"),
Matchers.containsString("<string> := 'DQ' {"),
Matchers.containsString("<text> := 'DQ' 'DQ' 'DQ' [")
Matchers.containsString("<text> := 'DQ' 'DQ' 'DQ' ["),
Matchers.containsString("\"\\textvisiblespace{}\""),
Matchers.containsString("\"\\textquotesingle{}\"")
)
);
Files.write(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ SOFTWARE.
<xsl:variable name="r8" select="replace($r7, '#', '\\#')"/>
<xsl:variable name="r9" select="replace($r8, '_', '\\_')"/>
<xsl:variable name="r10" select="replace($r9, '&quot;', '\\textquotedbl{}')"/>
<xsl:variable name="r11" select="replace($r10, '&amp;', '\\textquotesingle{}')"/>
<xsl:variable name="r11" select="replace($r10, &quot;'&quot;, '\\textquotesingle{}')"/>
<xsl:value-of select="$r11"/>
</xsl:function>
<xsl:function name="eo:term" as="xs:string">
Expand Down

0 comments on commit 70f0833

Please sign in to comment.