expressir 2.4.60-x86_64-linux → 2.4.61-x86_64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/expressir/3.2/expressir_core.so +0 -0
- data/lib/expressir/3.3/expressir_core.so +0 -0
- data/lib/expressir/3.4/expressir_core.so +0 -0
- data/lib/expressir/4.0/expressir_core.so +0 -0
- data/lib/expressir/express/formatters/declarations_formatter.rb +4 -1
- data/lib/expressir/express/formatters/remark_item_formatter.rb +11 -4
- data/lib/expressir/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ccb519e045100f342f46658905598b0088af92f87b24fa6ce5e8ea086073529e
|
|
4
|
+
data.tar.gz: 41f5614285a677e79dc413947ae058675bc257e51a0e90e095f5254ccaf7875a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59ca648b47265fca2c4529ce84778e35a876e73cba98834f440f48d78b9588bdccb9d668297b7c5f64f42f4817addefd4f009e5ed40f6d92a028feb0dacfb624
|
|
7
|
+
data.tar.gz: 1be0878d27cb58aafa0fe72c28cb5f13ad60751e04109a47abc3f0c9f792d428fa6dcbe65671f69b120ca4e3b8bb265bb8a281650d89b991a56e9885d3ebad6b
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -619,7 +619,10 @@ module Expressir
|
|
|
619
619
|
"",
|
|
620
620
|
]
|
|
621
621
|
end,
|
|
622
|
-
|
|
622
|
+
# A blank line before each remark-item child, mirroring the
|
|
623
|
+
# core-lane schema emitter — the two lanes must render
|
|
624
|
+
# remark.exp byte-identically for the formatter golden.
|
|
625
|
+
*format_remark_items(node).flat_map { |x| ["", x] },
|
|
623
626
|
[
|
|
624
627
|
"END_SCHEMA",
|
|
625
628
|
";",
|
|
@@ -29,15 +29,22 @@ module Expressir
|
|
|
29
29
|
tag = tag.delete_prefix(prefix) if prefix && tag.start_with?(prefix)
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
#
|
|
32
|
+
# Remark items are WG12 annotation blocks: the embedded form,
|
|
33
|
+
# a block per remark, matching the source convention of the
|
|
34
|
+
# annotated corpora (the conservation pairs are embedded, so
|
|
35
|
+
# tail-form emission reads as phantom gains). Rule-context
|
|
36
|
+
# owners keep the historic bare-tag tail form.
|
|
37
|
+
if rule_context
|
|
38
|
+
return node.remarks
|
|
39
|
+
.map { |remark| "--\"#{tag}\" #{remark}" }
|
|
40
|
+
.join("\n")
|
|
41
|
+
end
|
|
35
42
|
node.remarks.map do |remark|
|
|
36
43
|
remark = remark.to_s
|
|
37
44
|
if remark.include?("\n")
|
|
38
45
|
"(*\"#{tag}\"\n#{remark}\n*)"
|
|
39
46
|
else
|
|
40
|
-
"
|
|
47
|
+
"(*\"#{tag}\" #{remark} *)"
|
|
41
48
|
end
|
|
42
49
|
end.join("\n")
|
|
43
50
|
end
|
data/lib/expressir/version.rb
CHANGED